Add configurable timeout for running slim tests in debug mode.

Fixes #339. Now set a property "slim.debug.timeout", either in a page or in the configuration file.