Fix timezone bug when using testbed by mimicing env in GAE
Add threshold cron scheme overlapping

If threshold is equal to the time between expected pulses, threshold will cause the heart to flatline in lastpulse + threshold * 3.
For example, a heart with a daily schedule and a threshold of 1day (86400) its next flatline will be three days after the last pulse.
Add 404 handler for non-existing organizations
Add 404 handler for api/organizations/ route (w/o org id)
Add date only getNext method. This is needed to allow using moment.tz() with getNext
Add moment-timezone and moment-timezone-data libs
Add calculation of flatline start based on most recent heartbeat and settings
Add calculated date of next flatline and localize time of expected heartbeat

Next expected heartbeat time is now localized to time zone of heart using moment-timezone.js.
Calculated flatline date is done server side and updates after hitting the Save button.