Paper page: Improve current line hightlight performance

The hightlight function is now an asynchronous function.
Don't request compilation when the window is not active

The preview is not updated when the window is not active.
The compilation long polling stop when the page change.
Papers page: Save user preferences

Save user preferences (list style and list order) in the localstorage.
Improve paper list design
Improve index page

Move the main controller to the root of the page
Don't user minify files if the site is in debug mode
Update PDFJS
Parse PDF in the paper controller

Parse PDF in the paper controller instead of passing it in the preview directive
Update ACE editor
Add autocomplete support

Add basic tex autocompletio support