cleanup smq code

* remove unused headers
* remove blocking code
add extra debug output to tests
remove commented out ms_sleep function in test
Add smq_settimeout function.
update man page.