Refactored database tests with using of Q
database.connect() is based on promises
Refactored business module with using of Q
Added mouse hover to some tables.
Decreased number of rows per page in History screen
Updated TypeScript definitions