Quote relation names to preserve case and non alphanumeric chars
Created originally on Bitbucket by bmasson (Brendan Masson)
Was already merged in Bitbucket before import, marked as merged by the import user
Fixed corner case where table names have capital letters