Improve server error handling

showing username of error in log, see #8
Adding cordova plugins

-dialog
-logging
Updating headers
Improved client side error handling
Adding cordova build

-using cordova grunt plugin
-trigger cordova build via maven profile
Adding service unit tests
Mock cordova js Files

avoid 404 on dev
Refactor chat service

implement reconnecting websocket, fixes #11
Code clean up
Making app testable

see #6
Adding UI tests

fixes #6