Increase test coverage. Remove dead code.
Clean up some .to_bool calls.
Fix for nil values
Merge pull request #1106 from NatTuck/better-coverage

Better test coverage
Merge pull request #1111 from jdalphon/sanitize

Fix for nil values in sanitize
Merge branch 'master' of git://github.com/isenseDev/rSENSE into enums

Conflicts:
	lib/file_uploader.rb