fix error when no --user parameter is given
Merge pull request #14 from boocz3ch/master

fix error when no --user parameter is given
added LmiInstanceLister base command class

Similar to LmiLister command. It operates on CIM instances.
Accepts the same parameters as LmiInstanceShow.
fixed exception handling
use LmiInstanceLister in service library

Replaced LmiLister with LmiInstanceLister in service command
library.
changed transforming of options to argument names

Any non-empty sequence of characters matching [^a-zA-Z]+
is replaced by single '_'. So for example long options are translated
like this:
  --long-option   -->  _long_option
added short guide to setup developing environment
allowed to override cim namespace in multiple ways

    1. by setting [CIM] Namespace option in configuration
    2. by giving --namespace argument on command line to the
       lmi meta-command
    3. by setting NAMESPACE property in declaration of command

sorted by ascending priority. Associated function of session command
is called with connection object nested to particular namespace as a first
argument.
added OPT_NO_UNDERSCORES

New property *OPT_NO_UNDERSCORES added for EndPointCommands. It allows
to specify, that underscores should not prefix any argument name made
out of option.
improved error reporting

Added exception for reporting occurences of unexpected results being
returned out of associated functions.

Allowed to use property name as a second item of property tuple, when
rendering values of CIM instance.
updated service and software scripts

Api changes and new features of lmi meta-command now reflected in
service and software scripts.
storage: Fixed error reporting when CIM_Error is returned.
Added commands to Formatters and add TableFormatter.

Each formatter can now accept so called commands.

A command is instance of FormatterCommand and tells the formatter to
print something different than usual data. For example header for
new host, new table with a title or set column names.
storage: Adapt storage scripts to new formatters.
Added -H option to write output in human-friendly units.
storage: Update storage scripts for -H option.

And use LmiCommand.execute() to get the -H value.
Added --no-headings options to suppress table headers.
Added --csv parameter for CSV output.
storage: Use LmiLister for displaying of lmi XXX show output.

So we can get CSV output for free.
Merge pull request #15 from jsafrane/devel/format-options

Added commands for formatters