Added a Plugin.close() method that is invoked during BRJS.close() for
any plug-ins that had their Plugin.setBRJS() methods invoked -- this
hopefully works, but I've been unable to fully test as the dashboard on
this branch isn't working.
Merge pull request #316 from dogoku/plugin-close-method

Added a Plugin.close() method that is invoked during BRJS.close() for