Implemented world wrapping capability

Added the ability to "wrap" the border, causing the user to be teleported from one end of the map to the other when the border is crossed.

The functionality is controlled by a global configuration value.

The concept from this feature is taken from the WorldWrap plugin.