bug fixes
adds unit tests
BaseRepository now supports Statement.RETURN_GENERATED_KEYS
improves spec
runs unit tests on travis