Improving the login workflow

in order to redirect user to requested page after login (and not only
on /projects). Also added some CSS animations to make it fancy ;)
UI improvements
Cleaning debug stuff
Refactoring the View class

Renaming and removing methods
Removing __get method

It was only used to get comments. Replaced by getComments.
Bonus : rearranging imports
Adding a constant to define scheme (http or https)
Fixes the class inheritence
Removing useless call to a js file
Fixing layout conditions according to the new View class