Update for 0.6.0

Update for 0.6.0 support. 

NOTE: Before publishing this update to NPM, please read this topic: https://community.nodebb.org/topic/3117/plugin-developers-read-this-re-v0-6-0-breaking-changes

Namely the part about making sure your plugin still works with 0.5.x.