Upgrade to Ruby 2.0

Add newrelic in dev
Upgrade yajl-ruby to 1.2.0
Merge pull request #150 from alphagov/ruby-2.0

Upgrade to Ruby 2.0
Reduce the verbosity of elasticsearch logging

This switches the elasticsearch logging from STDERR to Rails' logger.
This means that the logging level will be appropriate to the environment.

Errors in production were obscured by huge quantities of successful requests
which often have large bodies.
Merge pull request #152 from alphagov/reduce_verbose_elasticsearch_logging

Reduce the verbosity of elasticsearch logging
Fix pending spec for section.chapters with hidden codes
Fix i18n deprecation warning
Switch to errbit
Merge pull request #149 from alphagov/errbit

Switch to errbit
Update whenever

The crontab was failing to generate on Ruby 2.0 due to an outdated
version of Chronic
Add aws-ses back in for the sync error emails.

These emails have more debugging information than errbit, we track the
last few sql queries and the data in the importer which helps when debugging issues

This is extra information in addition to errbit, not replacing it.
Fix spec failure due to not setting dates correctly

We are relying on the dates in the factory which are not relative the
dates in the spec, and they are now failing.

We need to review all specs with dates to ensure that factory objects
have dates set explicitly.
add `Rollback` model

[pivotal story](https://www.pivotaltracker.com/n/projects/488191/stories/64898846)
Merge pull request #154 from bitzesty/rollbacks-history

add `Rollback` model
Add sed commands for database import

The production database dump contains various entries which try to set definer
of views to be an account which does not exist in the development VM. This will
cause errors when you try to import it in development:

```
ERROR 1227 (42000) at line 7199: Access denied; you need (at least one of) the SUPER privilege(s) for this operation
```

The offending lines look like:

```
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`tariff_temporal`@`%` SQL SECURITY DEFINER */
```

We can safely remove those in development.

Usage:

```
sed -f path/to/prod2dev.sed production-dump.sql > development-dump.sql
```
Update airbrake
Ignore release_xxx branches in travis

We've already tagged them as good in our CI environment; it seems
wasteful to repeat the build in travis.
Merge pull request #155 from alphagov/fix-preview

Update airbrake
update measure link scheme

[pivotal story](https://www.pivotaltracker.com/n/projects/488191/stories/69339772)
Merge pull request #157 from bitzesty/measure-link-scheme

update measure link scheme
Switch to database_cleaner