doc: metadata_expire is both [main] and per-repo option. (RhBug:1065728)
doc: add provides to queries (RhBug:1065879)

Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1065879
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
refactored cli: using ArgParse instead of OptionParser
removed unused imports in cli.py
renamed YumOptionParser to OptionParser
renamed setupYumConfig to configure_from_options