Extracting EntityInvalid to its own file.

mapper.rb already does too much, but focusing on extracting code we use in our minimapper app to minimapper first.