Tornado tests for single and multiple queries using PostgreSQL

This patch adds Tornado tests for single and multiple queries using PostgreSQL with Momoko for asynchronous DB connection.