Move shared factories into lib

This allows `require 'dpla/map/factories'` to use this gem's factories
in another gem.