Clean up syntax, comments, etc.
Remove duplicate method
Merge pull request #460 from remotestorage/code_cleanup

Clean up codebase