[IMP] http.py: Make it possible to implement a new authentication method for the routes
[MERGE] from trunk
Merge trunk
[MERGE] from trunk-website-public_uid-chm
Yiiiiha! This day was shitty but that damn tests finally work.
Added some tests for jsonrpc
Added more tests
Made the 2-steps jsonp rpc work more or less
Make the three jsonrpc protocols work correctly with and without session overriding and added tests for all the cases.
That's one small step for a man, a giant leap for all the poor programmers that would have to use that shit one day.
Make it a little bit cleaner to fetch the session_id
minor improvements
Ported some authentication methods to the Session class
Added some tests about authentication
Even more tests
Ported model to the framework
Desactivated some tests because the phantomjs runner crashed
Simplified a little the Query class by removing a reference to a controller and using call_kw instead
Fixed potential security issue + some details
Corrected some stuff in openerp.web.Model
Added tests for the models