extract common datamapper sqlite adapter methods

as discussed in #217, extracting common sqlite adapter methods.
we can't change sqlite adapters' base classes, but we can use a mixin

Feedback welcome