Use debugger gem only with mri
Remove empty test/unit/event_log_test.rb
Fix boolean type in models/project_permission.rb
Fix random failing specs for WorkLog

* all_accessed_by and accessed_by scopes were random
  failing because postgres don't sort by id by default
* Format long custom sql scopes