Fix error message.

Thanks @timphillips.
Merge pull request #1 from pandell/npm

Mix latest master with npm fork
making the plugin exportable
Moving core up a directory
Make rest of plugins exportable