Fixed string find warning on 64-bit systems

On 64-bit systems this code would probably never have detected the
'not found' case.
Fixed warning about ISO for scoping

src/uicustomcontrol.cpp:4689:71: warning: name lookup of 'iTeamMember' changed for ISO 'for' scoping [-fpermissive]
No longer needs -fpermissive to compile
More warning fixes

-Wno-unused-result could be simply dropped, I don't see any such warnings
-Wno-ignored-qualifiers showed one redundant 'const' in MapList.h which I
just removed.
Renamed xf/xi/yf/yi to fix a large amount of shadowing warnings

xf -> setXf
xi -> setXi
yf -> setYf
yi -> setYi
Merge pull request #3 from bjorn/master

Compile warning fixes