Deployment descriptor fix for jersey 2
Added jersey configuration, fixed exceptions for test, added error codes
Aggregator serializing and test fixing