Removed old unused code from python nav mesh function and replaced MAX/MIN by Max/Min
Replaced MAX/MIN by Max/Min in various files.
Added option to unit navigator to define a custom los method when getting in range. This is mainly useful for abilities which require special targeting code (e.g. grenade).