New master lfun query_userlist().

Introduces a new master function for querying the
userlist (i.e. data from  the secure savefiles).
Contrary to get_userinfo() it returns specific
records from the userlist instead of a whole array.

The existing get_userinfo() function had a very
ill-defined interface. It returned an array which
was usually accessed by the *internal* symbolic
constants from userinfo.h plus an offset. These
could therefore never be changed internally. It
was also completely undocumented.

Also removes the now obsolete query_player_object()
which was also undocumented and used at only two
places (one being the master itself).

Change-Id: I5948deb69fd750dadd746f9089ba9ee9170c8a81
5 files changed