Merge pull request #351 from pleary/master

Fixes for some issues I noticed in delayed_jobs
Bugfix: json escaping broke projects/edit.
Listed taxa not on checklists should never be primary.

If they are update_attributes_on_related_listed_taxa goes nuts and
kills delayed job.
Made footer dependent on sites, not config.
Made obs field values allowed vals validation case insensitive.
Some visual fixes for the footer.
Refactored stats collection to be less invasive with ActiveSupport::Notifications
Merge pull request #352 from pleary/statsd

Refactored stats collection to use ActiveSupport::Notifications, be less invasive