When using hazelcast, removing the hazelcast cookie is required at logout
Merge pull request #847 from henri-tremblay/logout_fails_with_hazelcast

When using hazelcast, removing the hazelcast cookie is required at logout
Moved app.js to app/app.js
Moved call to /app/rest to /api
Fix #815