#plugins

pulls in plugin support and fixes. 

/cc @caolan @janl