Feature/mie 1336

This commit inverts the API mapper object mapping and allows for functions to be used to specify values.
@lsvx Would you add an example of how to make the new mapping in app/scripts/localconfig.coffee.example? Maybe some example function.