Move JSON tranforms into storage methods (bug 984984)

revert changes to settings.js that got checked in by accident

cleaned up all use of old storage methods, added tests

remove unned raw method, comment, and a typo

alphabetize tests
Merge pull request #554 from dethe/auto_jsonify_storage

Move JSON tranforms into storage methods (bug 984984)