Add doT.js templating engine. re #73
Add a template almost similar to the current UI. re #73

TODO :
 * Sort box is not here anymore
 * Has to be tested with and without Fancybox
 * Paging with left and right arrow is not working anymore
 * Probably many other things
The new interface is completely in Ajax. Feel a lot faster. re #73

Uses pushState / popState to keep browser history correct and allow using back in the browser.
Move most of javascript in util.js. Enabled paging with arrow keys. Refactor a little. re #73
Little code refactoring and handle the case of going back to the first page visited. re #73
Move most of JSON code to getJSON. re #73
Bookdetail is handled with ajax. Template is not complete though. re #73

Fixes some small bugs with the other template.
Almost finish everything for bookdetail. re #73

Todo : Handle max-size correctly (only if inside a fancybox)
Factorize a little all fancybox stuff. re #73
Ugly way of handling book detail without fancybox. re #73
Template are now cleanly split. Properly handle synchronization with jquery. re #73

--HG--
rename : templates/default/frontpage.html => templates/default/header.html
rename : templates/default/frontpage.html => templates/default/main.html
Cosmetics
Readd the sort menu. re #73
Save current JSON data instead of generated HTML. Reenabled tool click. re #73
little optimization : i18n is only transfered one time. re #73
Almost everything is in javascript now ... index.php could be an HTML page. re #73
Everything is in the template. re #73
See last commit. re #73
Save new things in constants. re #73
Simplify book detail. re #73