move shared files up to superclass

Addresses issue https://github.com/sethladd/stagehand/issues/20
Ah, you had me at "we could use stagehand for the JS web app generators". That's all you need to say :)