Added generic connection
Merge branch 'master' into dev
fixing import
fixing import
updating exceptions to be python3 compatible
fixed tests to properly test for new logic in db.py: getattr, getitem and mode
Added travis and test runner
Merge branch 'dev'