hasLayer not checking for null
Return false when checking for a null object in L.Map.hasLayer in response to #1282.
Merge branch 'fix_hasLayer_check_for_null' of github.com:rvlasveld/Leaflet into fix_hasLayer_check_for_null