[UIMA-6186] Factory methods for resource instances

- Adjusted name from createExternalResource to createResource since the latter would be the preferred name for uimaFIT v3.
- Improved method signatures so that return type  actually matches the class that is passed as an argument
2 files changed