Added hideOnSingle support for XTabularInput widger

Added option to assign special class name to html elements in tabular
view that are hidden when only on tabular view is present. Some minor
improvements of code.