Realtime module

This gets the data for a realtime module.

It also adds the formatted start_at, end_at data back in for modules.

Reduce the size of the query to 2 to make the response faster. We only use the current value and the previous for the delta.

Our formatkeys data will only support 1 yaxis :(