Add skeletal client and api.AddKnownTypes method

@smarterclayton how should images, builds, deployments, etc. all register themselves with the client?