Download state results view

Add a results page (results.html, /results/) that will host a
Backbone view to generate the details of the available results
for a state.

Add supporting Jekyll includes.

Add Backbone app to render results table.

Update render-map.js so it tries to use an existing ``openelex``
namespace.

Start updating render-map.js to show results availability.

Update state status JSON file with version that includes results status.

Addresses https://github.com/openelections/core/issues/157
Toggle map between metadata and results

Add control to switch between results and metadata map types.

Add dispatcher to send/receive signals for when the map type changes.

Refine the css classes so each state's classes can be set once and
the map container's class only needs to be changed in order to
change the shading.

Toggle sidebar content when switching between map types.

Addresses https://github.com/openelections/core/issues/157
Filter elections based on office

Add a Backbone view, some additional logic to the Elections
collection and handlers for a ``filter`` event on the collection
to filter the results table by office.

Addresses https://github.com/openelections/core/issues/157
Add metadata to sidebar of results page

Refactor sidebar rendering into a separate view to be able to
reuse code.
Enable filtering Elections collection by office or date range

Remove the collection method that filtered by office and add one
that filters by both office and date range.

Don't pass a collection to OfficeFilterView. Instead, trigger an
event when an office is selected and let the table view handle it
and initiate the filtering.

Add some Jasmine-based tests for the new behaviors.

Addresses https://github.com/openelections/core/issues/165
Election date filtering widget.

Add method to retrieve ordered list of all elections in an
Elections collection.

Add a view that leverages the [jQuery UI
slider](http://jqueryui.com/slider/#range) to set a range of
dates for filtering the available elections.

Wire up some Backbone events to connect the filter changes to
re-rendering the elections table.

Addresses https://github.com/openelections/core/issues/165
Add elections metadata JSON for all states

Bake out election results metadata JSON that drives the results
Backbone views for all states, even if there aren't baked results
yet.

For reference, the command I used to do this was:

inv bake.results_status_json -b -o ~/workspace/openelections.github.io/data

Addresses https://github.com/openelections/core/issues/167
Refine download page

Adjust microcopy to match spec.

Add heading for table that reflects office and date range filters.

Add legend for date range filter bar color.

Make bar color reflect the legend.

Addresses https://github.com/openelections/core/issues/168
Exclude files in build.

The README and Gemfile don't need to get copied over to the build
directory.
Reset filters and rerender when state changes.

Addresses
https://github.com/openelections/openelections.github.io/issues/9
Hide overlapping years

When there are very few elections for a particular year, the
next year's label will overlap this.

Try to work around this by giving the year labels a background
color so the text doesn't overlap and give the label elements a
title so we can see the full year on mouseover.

Addresses
https://github.com/openelections/openelections.github.io/issues/8
Refine results download page

Add column for congressional district results.

Show whether the race type is special and runoff in the table.
Move the generation of the label into a method of the ``Election``
model so it can be used in multiple views.

Float the office filter alongside the table heading.

Make the download icons pink.

Size date filter bars and slider to more closely match the spec.

Make slider colors more closely match the spec by having a light
gray background and a dark gray selected region.

Remove jQuery UI stylesheets since we define all the styles we need
in our own stylesheets.

Addresses https://github.com/openelections/core/issues/168
Exclude assets directory from build

The assets directory included the original Illustrator and PDF comps
of the site, from, I believe, the NICAR hackathon.  These shouldn't
be in the built site.
Adjust styles to match annotated spec files

Adjust styling and layout to more closely match the annotated
spec files at:

* https://drive.google.com/file/d/0B0i_cKL1FSAfU2hucXljb0p6OHM/edit?usp=sharing
* https://drive.google.com/file/d/0B0i_cKL1FSAfWHlEcDM0N3pka28/edit?usp=sharing

Addresses https://github.com/openelections/core/issues/168
Add arrow icons

Use grey table row expand/collapse arrows and pink download arrows
created by @SaraSchnadt instead of the FontAwesome/Glyphicon versions.

I put the icons in the img/icon directory.  It made sense that the
favicon.ico file also live there, so I moved it.

Addresses
https://github.com/openelections/openelections.github.io/issues/13
Make date filter slider handles larger.

Addresses
https://github.com/openelections/openelections.github.io/issues/14
Add tooltip that indicates results file type

Addresses
https://github.com/openelections/openelections.github.io/issues/15
Filter elections in results table by race type

Add some utility methods to the Election model to report race type
since fields like special and runoff are in different fields in
the front-end and the model data.

Addresses
https://github.com/openelections/openelections.github.io/issues/16
Reverse sort years and elections in results table

Sort the years and elections in the results table in reverse
chronological order.

Fixes https://github.com/openelections/openelections.github.io/issues/24
Render state status as table

Fixes https://github.com/openelections/openelections.github.io/issues/18