Fix JSHint and tests. Closes #1.
Remove unnecessary escaping in database naming regex