AuthController + routes
Merge pull request #4 from wriiite/apiv0.2

api: books and users, cleaning up and writing tests
IDs attributes : String to integer. Creation of mutators on every models to convert string to id when needed

See todo (Book.php) for a better and easier version of this
implementation
New pageController + PageController tests
Controllers : updating http code // 403 => Permission denied , 400 => Invalid parameters
Factories : removing useless methods get and adding the auth factory
Minor controller error
Implementing authentification throught the application
Implementing : Add pages for a book (auth needed)
merging Auth to apiv0.2
api: bookController update logic