[git] ignore generated assets.
[rails] tighten up rails includes for application.

Rather than including the default `rails/all`, be specific about which rails modules are used. Currently, not using action_mailer.

Based on:
http://www.amberbit.com/blog/2014/2/14/putting-ruby-on-rails-on-a-diet/
[Event] `earliest_date` and `last_date` methods.

For figuring out the boundaries of the range of dates that events occur on.
[Calendar] don’t show links to dates outside the range of dates that have events.
[Rails][gem] Update to rails 4.0.2 gem (and dependencies).

Had to change the sequence of some order scopes because of the change in rails to the way orders are stacked.

Used `I18n.envforce_available_locales` in the application config to turn off a deprecation.

Explicitly pick templates to render in view specs.
[gem] misc. updates.

Replace deprecated `stub!` method with `stub`.

Commented out `method` in source factory to avoid name collisions. Need to change that attribute/field name to something else (e.g., `http_method`).

Changed redirect url in `AuthoritiesController#create` to silence a Brakeman warning.
[gem] more minor gem updates.

The `main` gem, which `churn` depends on, apparently forgot to list its dependencies in it’s latest version. So, I’ve had to (probably temporarily) list them in the Gemfile.

Also did
* `gem update --system` (now version 2.2.2)
* `gem update bundler` (now version 1.5.3)
which, because they sit outside the source project, aren’t reflected in the Gemfile or anywhere else in source control.
[CalendarMonthPresenter] minor fix to spec.

Rspec randomization (seed=52012) turned up a tiny bug in the spec.
[Ruby] upgrade from Ruby 1.9.3 to Ruby 2.0.0.

Amazingly enough, no deprecations or anything. It just runs as is with no source changes.
[Ruby] remove no longer needed encoding lines from source files.

Ruby 2 defaults to UTF-8 encoding. So it’s, thankfully, no longer necessary to explicitly set the encoding.
Misc. code cleanup.

Based on code analysis reports.

Added descriptive comments to classes and modules.

Reformat lines to ensure none exceed 110 characters in length.

Some conversion of `:label => x` syntax to `label: x`.

Misc. reformatting, particularly whitespace.

...
[refactor][EventSelector] Various refactorings based on Reek report.

Notably, created the `EventSelector` class to move complex logic out of the EventsController.