Add authentication by token for API
Get email and token from HTTP headers
Implement REST actions for API
Handle correct response statuses
Specify json to return by api show action
Fix bug with exception raised by parser
Fix link showing as carrirwave sanitizer
CanCan now works with strong parameters
Json index template
Configure RABL to not include root element in json output
Specify json template for create action output
Test for api index
Tests API for index, show, update