Import API in __init__.py
Implement PostgreSQL adapter.
Implement `tern.adapters.extract_adapter`
Update travis.yml to use postgres.