change args order; remove keyid/longkeyid args; minor format fixes
improve fetch seed
minor fixes
fix release arg
move load/fetch seed behind seedhandler
improve listseedfiles
refine addseeds
small fixes in listkey
Merge pull request #12 from gentoo/week3_refactoring_gkey

Gkey refactoring part 1
gkeys.log: Isolate file-handler code in the logpath branch

There's no need for this variable if logpath isn't set, so remove the
global variable and external references.

Also downcase it to the more Pythonic 'file_handler'.  PEP8 doesn't
even recognize a 'Sentence_case' naming style [1].

[1]: http://legacy.python.org/dev/peps/pep-0008/#descriptive-naming-styles
Merge pull request #13 from wking/file-handler-cleanup

gkeys.log: Isolate file-handler code in the logpath branch
gkeys.seedhandler: Don't save timestamps unless the fetch succeeded

Bumping the timestamp should be the last thing we do, because
re-fetching is just annoying, while thinking our stale content is
up-to-date and *not* fetching is bad.
Merge pull request #14 from wking/late-timestamp-save

gkeys.seedhandler: Don't save timestamps unless the fetch succeeded
gkeys.actions: Fix 'listseed' -> 'addkey' typo in a log message
gkeys.actions: Descriptive docstrings for Actions' methods

I'm going to use these for the help and descriptions of the new
argparse sub-parsers, so it's good to have more detail than "Action
{method-name} method".  I've also reformatted some docstrings to
comply with PEP 257's [1]:

  {summary-line}

  {body}

with single-line summaries and a blank line before the body.

[1]: http://legacy.python.org/dev/peps/pep-0257/#multi-line-docstrings
gkeys.cli: Convert to Argparse sub-parsers

This lets us use the method docstrings for more detailed help:

  $ gkeys --help
  ...
  positional arguments:
    {listseed,addseed,removeseed,moveseed,...}
                          actions
      listseed            Pretty-print the selected seed file(s)
      addseed             Add a key to the selected seed file(s)
      removeseed          Remove a key from the selected seed file(s)
      moveseed            Move keys between seed files
  ...

  $ gkeys listseed --help
  usage: gkeys listseed [-h]

  Pretty-print the selected seed file(s)

  optional arguments:
    -h, --help  show this help message and exit
Merge pull request #15 from wking/subparsers

gkeys.cli: Convert to Argparse sub-parsers