cs template (create | extract | register) 

This patch add the following functions:

* template create - Crete a template from a volumeId
* template extract - Get a URL where a template can be downloaded
* template register - Create a template from a file at a URL