Added backdrop url and bearer token
Ensure stagecraft integration uses the config url
Removed console.log
Added new post endpoint for querist
Added two new backdrop endpoints.

emailSent POSTS data/performance-platform/notifier with the dataset and timestamp

lastEmailSent GETS with a QS for the last time a data_set was sent an email

Tests and stuff
Added a proper callback to the send signature for chaining.
Refactored backdrop to return simple data not data_sets

Changed method names to make them a little less confusing
Cleaned up the stagecraft response for emails

Simplified tests for them
Simplified the main step sequence.

We just loop over the datasets once and do things

Cleans up logging also.
Bugfix for dataset sending undefined to query by
Frequency map

Tested frequency map. Finds the closest frequency for a given number and returns how often frequent you should (do a thing) with that number.

This is going to be used to inform the emailer how often we should mail people about datasets being out of date.
Changed frequency for realtime collectors to alert very hour.
Fixed faketimers. Hate dates
Fixed timezone issues for this test
Added frequency check.

If the frequency for dataset exceeds the time stored in backdrop we send another alert.

Added tests for this.
These are no longer needed.
Cleared up this test so it reads much easier
Merge pull request #21 from alphagov/feature/save-to-backdrop

Save to backdrop