Working Postgres integration with HStore

+ @kalleth
Extract mapper from repository

Mapper is trivial at this point but the presence
of this seam should keep the two concerns separate.
Move load paths and constants to config/env