Wrote *a lot* of unit tests.

modified:   Gemfile
modified:   Gemfile.lock
	-- added rspec gem explicitly to fix weird dependency issue

modified:   app/models/bookmark.rb
modified:   app/models/permission.rb
modified:   app/models/progress.rb
modified:   app/models/saved_search.rb
	-- various bug fixes to to testing

modified:   db/development_seeds.rb
	-- updated seeds so that they are valid

new file:   db/migrate/20130119095800_bookmark_change_offset_name.rb
modified:   db/schema.rb
	-- added migration for bookmark model to make naming more consistent with the rest of the app

modified:   db/seeds.rb
	-- added warning console message to make it blatently obvious when it runs

new file:   lib/modules/JSON_patch.rb
	-- added handy method for testing if JSON is valid

modified:   spec/controllers/analysis_items_controller_spec.rb
modified:   spec/controllers/analysis_jobs_controller_spec.rb
modified:   spec/controllers/analysis_scripts_controller_spec.rb
modified:   spec/controllers/audio_events_controller_spec.rb
modified:   spec/controllers/audio_recordings_controller_spec.rb
modified:   spec/controllers/bookmarks_controller_spec.rb
modified:   spec/controllers/permissions_controller_spec.rb
modified:   spec/controllers/photos_controller_spec.rb
modified:   spec/controllers/progresses_controller_spec.rb
modified:   spec/controllers/projects_controller_spec.rb
modified:   spec/controllers/saved_searches_controller_spec.rb
modified:   spec/controllers/sites_controller_spec.rb
modified:   spec/controllers/tags_controller_spec.rb
modified:   spec/controllers/users_controller_spec.rb
	-- added 5 default tests to every GET #index action test for every controller

new file:   spec/factories/bookmark_factory.rb
new file:   spec/factories/permission_factory.rb
new file:   spec/factories/photo_factory.rb
new file:   spec/factories/progress_factory.rb
	-- new factories to coincide with the completion of the rest of the model tests

modified:   spec/factories/project_factory.rb
	-- fixed urn generation

modified:   spec/factories/saved_search_factory.rb
	-- fixed bug with default factory

modified:   spec/models/authorization_spec.rb
modified:   spec/models/bookmark_spec.rb
modified:   spec/models/permission_spec.rb
modified:   spec/models/photo_spec.rb
modified:   spec/models/progress_spec.rb
	-- wrote and completed model tests for the above models

modified:   spec/models/project_spec.rb
	-- fixed urn validation

modified:   spec/models/saved_search_spec.rb
	-- finished spec / fixed specs

modified:   spec/spec_helper.rb
	-- moved the seeds.db runner into controller tests only (they are unecessary for model tests and slow them down)

new file:   spec/support/shared_api_examples.rb
	-- made a set of reuseable specs which where applied to all GET#index controller tests