Fixing JS issue on map config

Code was checking for Ushahidi version when including map on main page, but not on config page.

Also updated version checking logic as straight maths won't deal with subversions (i.e. 2.7.1) well.

Fixes #1 and https://github.com/ushahidi/Ushahidi_Web/issues/1129