breaking source and test dirs out of plugin files. also renaming tests to test
creating vars for minifiers