when creating a new resource return the result
Merge pull request #5 from winkerVSbecks/master

when creating a new resource return the result
Switching to using rangle-gulp and setting up karma tests.
Setting up and applying JSHint.
Adapting server-side unit test.

Moving server-side unit tests to the same folder
structure as the code. Making them run one after
the other without conflicts. Renaming files and
folders to remove camelcase.
Adding concatenation and linting.
JS[add-user] basic add user with crypt
JS/VB[client] added varun's changes to createResource
JS[login] wip
JS[login] basic local login and register, password-local strategy
JS[login] reject promise for error case on registering (local)
JS[login] change server msgs, fix checkusername on coast server for password strategy