Bug 940183 - Upgrade npm dependencies and use new interfaces r=gaye

Upgrading libraries and updating interfaces to match the new libraries.

Note: I've also updated the version as I would hope we would publish a new version of this after. Thanks!