Allow special characters in serie names.

It is actually not possible to query against timeseries with for example a @ in the seriename. This escapes the from clause and fixes this situation for us.