fix error message if module cannot be stopped
add more tests for module hotswap
add feature to enable regex route matches in modules