remove type name if query table, and guess the renderer based on the column name when no column configs are defined
fix tests
new tests
pulled out constants
Merge pull request #865 from jay-hodgson/query-widget

SWC-1232: auto-format columns based on name, and strip off "tablename" from node query result column names