Optionally set configs based on a global config object.

If there is a global object called `RetinaJSConfig`, it will be merged with the default configs. This way, the user can specify a suffix, turn off mime-type checks, or allow the dimensions of the image to change.