qucs-rescode: autotool s/INCLUDES/AM_CPPFLAGS

autotool complain about INCLUDE in Makefile.am change to AM_CPPFLAGS

this modification will affect old version autotool
Merge pull request #117 from yodalee/fix-rescode-makefile

qucs-rescode: autotool s/INCLUDES/AM_CPPFLAGS
implement search dialog in ui
add UIC to autotool
add UIC to CMake
change searchdialog to use ui
Merge pull request #119 from yodalee/designer-searchdialog

Use Designer to implement searchdialog
fix crash with timingdiagram
followup pull #119, cmake out of tree

While building out of tree it complains about the missing ui_*.h header.
Headers are being created on the build/binary directory.
make a copy of function into misc
remove main.h include