Feature/endpoints for adding endpoints to project

This is all the of the endpoints I think, this includes

- creation of endpoints
- setting of categories
- deletion of endpoints
- editing of endpoints
- removing a endpoint from a category
- getting data of all endpoints of a project
- getting data of an endpoint using its token_id
- email is set for emailing


it breaks if we are not in the project

events.js:72
        throw er; // Unhandled 'error' event
              ^
TypeError: Cannot read property 'user_id' of undefined
    at /Users/yagocarballo/ac32007/api/endpoints/endpoints.js:23:35
    at innerCallback (/Users/yagocarballo/ac32007/node_modules/cassandra-driver/lib/client.js:276:5)
    at /Users/yagocarballo/ac32007/node_modules/cassandra-driver/lib/request-handler.js:161:5
    at Connection.handleResult (/Users/yagocarballo/ac32007/node_modules/cassandra-driver/lib/connection.js:439:3)
    at ResultEmitter.emit (events.js:106:17)
    at ResultEmitter.each (/Users/yagocarballo/ac32007/node_modules/cassandra-driver/lib/streams.js:489:17)
    at ResultEmitter._write (/Users/yagocarballo/ac32007/node_modules/cassandra-driver/lib/streams.js:474:10)
    at doWrite (_stream_writable.js:225:10)
    at writeOrBuffer (_stream_writable.js:215:5)
    at ResultEmitter.Writable.write (_stream_writable.js:182:11)