add travis and code climate badgets
setup test database