Fix availability calculation for hourly stats

The bug happens when a check is just started or paused

Refs #197
Newline in the end of file
Change calcul of availability & downtime for hour & day to take paused time & tested time into account
Fix errors on uptime bar : color & duration
Fix errors on uptimeBar
Fix error when a check as a long period of pause
Remove condition on current interval in uptimeBar
Merge pull request #200 from fzaninotto/availability_fix

[RFC] Fix availability calculation
Fix enter key action in edit form

Closes #204
Merge pull request #206 from fzaninotto/enter_pause

Fix enter key action in edit form
Use Buffer.byteLength instead of string length for Content-Length header

This prevents Content-Length mismatches when sending multi-byte characters.

See https://groups.google.com/forum/?fromgroups=#!topic/nodejs/LAxACfj5_KI.
Merge pull request #213 from joshisa/master

Use Buffer.byteLength instead of string length for Content-Length header
Updating statusCode checks to accept all valid 2xx and 3xx HTTP status codes
Changed == to === when checking against null
Fix regression on populate fixtures
update intervalBuilder to fix regression on status in hourly stats for checks
Fix availability error
Fix regression on aggregated data
Merge pull request #228 from davidrautert/master

Accept all 2xx and 3xx HTTP status codes as successful
Add ability to define host in a single config setting