Increase functional test coverage for the api
Add .editorconfig

This is important for people who want to contribute and avoid commit
with lots of change related to coding style, white space, etc ...
See: http://editorconfig.org/
Update API & tests

- remove EntryApi and use EntryRepository directly
- split route from action (and create a new ApiController)
- force id as get parameter (instead of raw content)
- then use assert on parameters
- update entries url to be /api/entries/... (and use proper http method)