Support for torndb

I've modified the db module so it will first import `torndb` and fall back to `tornado.database` if it won't import.