Changed HQAI to a superclass

Fiddled around with constructors as well, and changed do_checkin
methods to do_upkeep.  The HQ checks the count of the checkin
channel during its upkeep, while soldiers peform the checkin.