import: Add support for generating index file

Add optional command line options to the "import" command for specifying
version, description, creation date, and build command. These will be
used for generating a "index.yaml" file in the local repository that's
picked up by commands like "capstan images".

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>