[Reviewer: Mike] Application server interface and UT

Mike,

Please can you review the application server interface and my UT infrastructure?  Since we're using Google Mock, the UT infrastructure is pretty straight-forward - see appserver_test.cpp for UTs for some dummy ASs.

Thanks,

Matt