Ignore nbproject dir
Created blank .npmignore to avoid install errors
Disabled connexion login/password
Return modified document JSON in PUT (better fit angular $resource behaviour)
Return created document JSON in POST (better fit angular $resource behaviour)