Made xSearch more flexible and added basAPI module

- made xSearch more flexible (regex, wks from range values ...)
- added basAPI module providing Windows API functions (e.g. form manipulation)