add API for pulling directory

- also added a preparer to pull directory, zip and save it into
  backend

Bug: 29834776
Change-Id: Ie490468e2a9a0e17def7bcc73c8d8c87e54d2667
4 files changed