JSHint config and clean up
Restructuring project to support testing through sails