Create result objects instead of hashes

- include auditor and rule js in the app until the js module works
- clean up Rails 3 config
- we should extract these changes back into the gem
Identifier 'writeScripts_' is not in camel case.