fixed bug: stale variable reference 'listener' causing exception in ScannerManager
fixed bug: exceptions on null resources when restarting embedded tomcat
gretty-runner-tomcat7: implemented connector auto-configuration and accurate restart