(CE-89) Fix IP credited with user page creation

Fix IP credited with user page creation by Achievements extension so
the edit is not attributed to the user's IP, which complicates
CheckUser. This requires the addition of a setIP method to the
WebRequest class, which is available in MW 1.21+.
Cleanup whitespace
Merge branch 'CE-89' into dev