[routes] add delete action to all resources routes.

Modify the built in routing resources method to include a delete path for non-javascript use.

This makes the `config/routes.rb` file a lot cleaner.

Also changed some of the other action link_to paths to use action arrays (e.g., `[:edit, @item]`) instead of path helper methods (e.g., `edit_item_path(@item)`). This is especially useful for polymorphic sub-controllers (e.g., `[:edit, @item, @subitem]`).

Based on http://railscasts.com/episodes/77-destroy-without-javascript-revised
[Gem] Brakeman gem for security analysis.

Checks rails apps for common security risks.
http://brakemanscanner.org/

Call from a rake task in the root of the project:
> bundle exec rake brakeman
That will generate a `brakeman.html` report file.

Fixed a couple validation problems brakeman identified.

Force the redirect urls handled by the oauth callback in the sessions controller to be local paths.
[Views] `separator` helper.

Puts an invisible (in screen views) separator between links. Used to aid accessibility in assistive browsers.

Also converted from old ruby hash syntax (`:symbol => value`) to Ruby 1.9 hash syntax (`symbol: value`). (But just in the files being modified for this commit.)
[Gem] misc updates.

Numerous minor gem updates. No code changes required.

Also added a line to the preflight script to open the brakeman report.
[db] add missing indexes.

Because I did a fresh (from zero) migration, the timestamps were updated to not allow null (I guess a recent version of rails made that change, but I hadn’t rerun the older migrations.
[Event] strip “Details:” label from description when importing iCalendar data.

This is specifically to handle the iCalendar data generated by Meetup.com. They end the description with “Details: [event url]”. which is redundant for us since we show that url as an external link for the event.
[Ruby] upgrade to ruby 1.9.3.

Replaced the `ruby-debug19` gem (which has not been updated for 1.9.3) with the `debugger` gem.
[Event][Merger] Split record merging into a separate model(s).

Moved the Event merger methods into a Merger module (with a Base class and an EventMerger subclass).

Decouple and speed up the tests on the merger methods by using mocks and stubs.
[Event][IcalProcessor] Move some ical methods from Event to IcalProcessor, and some test cleanup.

New method `event#perform_from_source` is a wrapper that takes a block and runs the block wrapped in a flag that causes operations to act as if the Event is coming from a Source (to avoid certain aspects of callbacks that operate on Sourced Events).

Changed methods with multiple arguments to take a hash instead.
[testing] make most rspec before wrappers `:all` instead of the default `:each`. D'oh!

I’ve started putting thought into test run times after doing some reading on the subject.

The change to `:all` from `:each` (including the same change made to the event_spec in the previous commit) cut the total rspec run time at least in half.

The wasted test run times I had before is the sort of thing that happens when you blindly copy and paste code templates rather than pay attention to the details of what the code is doing.

I also modified some of the tests more extensively, substituting mocks and stubs in places, changing some created records to be shared across examples rather than recreated every time, and other little tweaks.
[ExternalLink] Meetup changed their event links to allow non-numeric ids.
[gem] Update gems, including Rails.

Had to make some changes to the cucumber features and step definitions to accommodate changes to the gems.

Copied over some default new rails app comments, as well as the minor differences in the default `config/application.rb`.

Cleaned up and reorganized the `Gemfile`. Made most of the test-related gems `require: false`. (E.g., no need to load the cucumber gems when running rspec tests.)

A little cleanup of the `preflight` script, and added `rails_best_practices` report.

• Rails 3.2.9
• brakeman 1.8.3
• capybara 2.0.1
• chronic 0.8.0
• debugger 1.2.2
• jquery-rails 2.1.4
• launchy 2.1.2
• omniauth 1.1.1
• omniauth-twitter 0.0.14
• rails_best_practices 1.13.1
• rake 10.0.2
• rspec-core 2.11.1
• rspec-rails 2.11.4
• simplecov 0.7.1
• simplecov-html 0.7.1
• timecop 0.5.4
• tzinfo 0.3.35
• uglifier 1.3.0
• ZenTest 4.8.3