Removed deprecated functions and merged ProxyTools into GlobalFunctions

Kept wfGetIP() for now because it is still in use in the SecurePoll
extension and in WMF configuration.

Change-Id: Id412e37743f89bb67eb329a2f475f8496cf7b006
Merge "Removed deprecated functions and merged ProxyTools into GlobalFunctions"