mozilla/butter — pull request #118 by secretrobotron (2012-03-27 17:21:24+00:00)
Title: [t527] - template.js plugin cleanup

1. Modules function returns an object with a ready function to call once page is prepared
which will call _start on modules and wait for them to finish before, in turn, calling
another callback, signifying an overall prepared module state.
2. Moved plugin config from template.js to config files.
3. Added functionality to plugin module to spawn plugins from config file.
4. Created config/test.conf for tests specifically, to get rid of ui elements (the tray, really).
5. Added enabled/disabled functionality to ui module which just appropriately appends the tray to the dom.