Fix some @params documentation in includes/{GlobalFunctions,User.php}

Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in capital.

Change-Id: If8c0cf4627fc62ff288d33658e327ae80548f5c5
Merge "Fix some @params documentation in includes/{GlobalFunctions,User.php}"