Adding sanitization to upload
- Added a step to validate data for number,lat,lon
- Removed stray write to log in gpx parser
changed logo images to rails image tags
Changes to Media Object
-Fixed create to give back the to_hash when responding to a js request
-Set project,user,data_set ids for data_set media object
Changed false to bool for saved vises
Increase test coverage. Remove dead code.
Clean up some .to_bool calls.
Merge pull request #1105 from jaypoulz/jpBugFixRegress

Changed false to bool for saved vises
Merge branch 'master' of git://github.com/isenseDev/rSENSE into sanitize
Merge pull request #1109 from jdalphon/sanitize

Sanitize
Merge pull request #1103 from jdalphon/tohashmedia

Changes to Media Object
Merge pull request #1100 from nickavv/parachute

Fixed logo image tags
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
Adding optional enums restrictions for text fields
-Migration to add the field
-Serialize restrictions as json
-Add the table column to edit_table
-Sets the fields in projects/save_fields
-Checks in file_uploader blanks if invalid
Merge branch 'master' of git://github.com/isenseDev/rSENSE into enums

Conflicts:
	lib/file_uploader.rb
Adding tests
-Added tests
Added another test and Fixed field name bug
Increasing code coverage
- Wrote test to edit fields
- Wrote test to template upload fields with dataset
- Wrote test to template upload fields without dataset
Added files for testing filetypes
-Added csv,xls,xlsx,gps,ods files for testing