Integration

Now we throw the exceptions in the proper way according to the UIMA manuals.
Fixed all tests that verify exceptions thrown