WIP: draft of html for editing alerts.
WIP: Add migration and model for alert.
Add tests for alert triggers.
WIP: working on cron job for alerts.
Rename monthling_row to dataset.
Require alerts to belong to one of [account, building, space, meter].
WIP: getting alerts to send.
Add notification table.
WIP: refactoring send_notifications to work with user profiles instead of users.
Get alerts sending.
Refactor send_notifications to have shorter lines.
Convert alerts to deal with multiple aberrant data frames.
WIP: working on saving alerts.
Get alert editing/creating etc working.
Break out alerts into partials.
Get mandrill email templates working. Uses ENV['EMAIL_TEMPLATE'].
Fix tabs.
Enable use of fullwidth main content section depending on presence of stripe_pk.
Add add_payment_details page and form.
Use a partial for the credit card details form.