bug fixes to pluginmanager
Merge branch 'dev' of https://github.com/gamelab/kiwi.js into dev