Merge branch 'update-gems'

* update-gems:
  Update Ruby version
  Fix problems caused by update.
  Update gems including security update.
Update ruby and gems
Update `ignore` to `transient` in factories.

`ignore` is deprecated in Factory Girl, and is replaced by `transient`.
Add `rspec-activemodel-mocks` gem
Add `:type` tag to Rspec tests.

They no longer automatically infer it from their directory, so the
explicit declaration is needed.
Fix Jquery dataTables loading
Update Rspec examples to use `expect` syntax.
Migrate from "spec_helper" to "rails_helper"

Newer versions of RSpec separate the two, so files had to be updated.
Correct SubEvent selection from Event

The old selection syntax was messing with `COUNT()` queries.
Update Cucumber step with new RSpec syntax