Add tests for cli

- Move postgresql_fixture and db_connect to `cnxupgrade/tests/__init__.py`
- Move collection migration test case to its own file
- Add tests for cnx-upgrade to_html and cli.py

See issue #10

Effort points: 2