Added full support for custom minimap images + polishing

- Reduced the image size needed by 2.
- Fixed the custom image size set at load time.
- Fixed the overlapping alpha adjustement that was falty in bigger maps.
- Fixed the location arrow not updating its direction when moving
  diagonally and removed a few magic numbers.
- Added the necessary scripting support to make the engine load a custom
  image.