All new scaffoldery changes, now refactored and cleaned up, and better than ever before!

**Changes:**

* Moved metadata code into its own file.
* Added .jshintrc and cleaned up. 
* Other minor fixes.