BISERVER-10343, BISERVER 10378: Catalog service interfaces and implementations.  Tests and code formatting.