Add migration to fix bungled earlier custom rate limit migration.

Validations weren't being applied, so the rate limits transferred over
didn't have accuracy settings.
Setup travis.yml
Another try at fixing travis. Missing config files.
Let's see about getting jruby working on travis.
Allow failures for jruby since it's timing out installing gems.
Add rubocop with only some more basic checks enabled.

Cleanup and make more consistent some of the things rubocop uncovered.
Add coveralls.
Add rubocop tests to travis.
Don't scan vendor/bundle on travis ci.
Add validation to ensure API hostnames are valid.
Fix user custom rate limits not being wiped when the mode wasn't custom.
Don't die if rubycop can't be loaded (as it won't in non test envs).
Add import/export process for moving config changes between servers.
Switch the other user-input YAML parsing pieces to use SafeYAML.
Fix setting error template to an empty hash.
Fix importing records failing when embedded document data was changed.

Also cleanup the import process to ignore timestamp/userstamp/version
fields that are likely to be different even if the data isn't.
Cleanup import stuff.

It ended up not being as complex as some initial experiments, so no need
for a module. Also fix userstamping on imported data.
Better filename for YAML export download.
Fix import/export comparison for new/deleted items.
Fix missing array values in the export and comparison dumps.