Add requirements.txt and fix bug with psycopg2cffi