- change set_time_limit to 1000, infinite limit kills.

- dump the debug output to MODX's error log if it's an ajax call
- [#63] add queryHook's version to implement different regex
- reformat the code
- [#61] fallback on failed loading of the zend lucene library
- [#60] fix sorting which doesn't work in queryHook
update to jQuery 1.10.2

add "advSearchInit" to call AJAX search manually outside of AdvSearch scope
debug form's definition on JS's pagination