add db.registerTransformer()
Merge pull request #147 from codemix/register-transformer

add db.registerTransformer()