General Refactoring Sweep
- Added config file to indicate if testing
- Changed save.php with a few optimizations
- Changed dojojs to use config file, other optimizations