Add factory functions for generated thrift clients and services.
Server renamed to Service in the generator.