print headers even for empty data set

Be consistent with other listing utilities and make sure that table
headers get printed even when there is no data available.
eliminated terminating space in table rows

Each row of table ended with redundant space. Ditched it.
tests: fixed creation of cimom url in base script
logicalfile: added basic test suite

Main focus was to ensure that non-ascii characters are handled
correctly.