mattdrayer/api-time-series-fix: Use backticks instead of quotes

@martynjames -- took a bit of time to get to the bottom of things, but the issue with the time series data stemmed from a MySQL syntax issue -- changing one of the query clauses to use backticks instead of quotes resolved the issue.  Apparently the quotes are valid for sqlite, which explains why the unit tests did not catch the problem.  Not sure if you're able to repro on your end, but take a look and let me know either way -- we should at least be able to see how it looks in the QA environment once merged.

@ziafazal, FYI on the syntax change
I like the capitalization of SQL keywords - SELECT, UPDATE, FROM, WHERE, AND, etc.... maybe I'm just a traditionalist!@