Fix bower installation.
Ignore node_modules and bower stuff
Fix some inconsistencies in plugin interface and bug with runtime.
Build index.html for basic testing and rebuild pkg.