Removed unused test functions.
Rewrote the phat master/server init phases.
Phat startup now does a query on a known contact point for who the
real master is. Stubs exist for requesting a replica list. Also
reorganized the structure of the startup calls slightly to be clearer
about what calls what.
Moved to different logging macros.
Slightly changed client/server flags.
Minor fixes to test/getroot ordering.