2.x migration beta

Hi Trygvea

The 2.x migration is not finished for me, but this is working:
- Standalone for test/dev
- In a project as plugin

Still to do: 
- Remove warning with changing deprecated stuffs 
- Improve the way to remove injected methods,