fixed lucene search result query not including the proper datatype of each column also added the fttype attribute in dmHTML to fix a crzy error in the formtools