new method hasElementOfType() in wbForms; some more changes and additions in wbForms; small fix in wbQuery