0.9/unipackage support

wanted to use this in my Cordova project, so whipped up the necessary changes to package.js :smiley_cat: