Added logged_in column to permission table. Fixed up some tests. preparing for using a csv file to test permissions using request (intergration) tests.

modified:   Gemfile.lock
modified:   app/controllers/permissions_controller.rb
modified:   app/models/permission.rb
modified:   app/models/user.rb
modified:   db/migrate/20121126232916_add_admin_to_users.rb
new file:   db/migrate/20130205030911_add_logged_in_to_permissions.rb
modified:   db/schema.rb
modified:   spec/controllers/permissions_controller_spec.rb
modified:   spec/controllers/tags_controller_spec.rb
modified:   spec/factories/audio_recording_factory.rb
modified:   spec/factories/permission_factory.rb
modified:   spec/factories/progress_factory.rb
modified:   spec/factories/saved_search_factory.rb
modified:   spec/models/permission_spec.rb
modified:   spec/requests/projects_controllers_spec.rb
new file:   spec/requests/request_truth_table.csv
modified:   spec/support/api_examples_create.rb
modified:   spec/support/api_examples_update.rb
Merge branch 'master' of https://github.com/QutBioacousticsResearchGroup/bioacoustic-workbench
Created tests for SavedSearch date filter.

modified:   app/models/audio_recording.rb
new file:   lib/external/diagram.png
modified:   lib/search.rb
modified:   spec/requests/REST_routes_tests.rb
new file:   spec/requests/saved_search_request_spec.rb
modified:   spec/support/analysis_script_helper.rb