Expose a 2-arity from_mod function for embedded mod map

Expose the `from_mod/2` fun. Allows external code to pass a correct mod_map for embedded types. See https://github.com/basho/riak_kv/issues/967 for details of for why.