first test to fill with data
Fill empty hours with proper data

* Properly sort the array prior to sending it back
 * Sort from current to one hour earlier for proper data display
 * Adjusted templates to use new sorted arrays

Fixes #606
Do not add 24th hour, use 0 hour
Merge pull request #607 from TheSerapher/issue-606

Issue 606