New core.oauth and core.view API

refactoring the API to be able to support freedom-for-chrome and freedom-for-node.
Added some additional tests.
This include the 0.6-views branch, which refactoring the core.view interface.
This branch now also allows registration of custom view and oauth providers
done