Implemented most of QueryAPIName.

Documented methods in IQueryAPI.

Implemented GetCurrentIP, Authenticate, GetRecords, and Logout.
Authentication works in installer but error messages need clearing up.