Add importlib requirement to setup.py
Implement get_applied for Postgres adapter.
A quick and sloppy implementation of the tern command.