REST services: small bugfixes

- using the right type of logger
- no NPE when the domain isn't available
- avoiding other NPE's
- adding javax.jms dependency so that usage of the client (KieSession) API doesn't cause
  ClassNotFoundExceptions
REST services: fixed tests and moved exception/errors to their own package