Merge pull request #67 from poupotte/master

Update tests
1.0.8
Moved from compound to americano
Added: javascript compiled file
Fixed: test broke after stupid modification
Improved: tests logging
Fixed: proper americano start
Increased timeout for starting app
Added: git hook and task to help to avoid forgetting cake build
Refactored: lock/unlock middlewares are in a separate controller
Refactored: getDoc middlewares moved to the utils controller
Refactored: using one 'deleteFiles' helper for all controllers
Refactored: moved permission checking to the utils controller
Linted
Moved: helpers in a separate helper file
Fixed: tests couldn't be run individually because of a missing token
Refactored: proper error handling
Refactored: feed should be a library
Removed: unused library
Fixed: DS was emitting event if there was no related doctype