made actions & triggers one-to-many; removed action history for now
implemented failback; updated tests
add a unique index to metrics table

* there was a possible race condition which caused duplicate entries to
  be created (e.g., when restarting sidekiq after an outage)
enable automatic job retries in sidekiq
dup metadata to avoid issues during job retries
docs on bootstrapping objects
removed obsolete helper