Reverse DNS lookup at login; store hostnames

Performs a reverse DNS lookup at login time.
Stores the hostnames and display them in the admin section.

In use on main server for a few days before merging.