Fixing RESTClientFactory

   * close() method should shutdown transportClient cleanly in all use
     cases.
   * getStoreClient(storeName, resolver) should return a LazyStoreClient