Quote tenant_id parameters to be strings

Queries did not match when queried as integers with sqlite 3.8.5
Merge pull request #178 from asadoughi/quote_tenant_id

Quote tenant_id parameters to be strings