Ensure the app is really running before killing it
Delete test application when finished with it
Merge pull request #481 from elia/master

Ensure the app is really running before killing it
Validate vhosts names more strictly

There was a bug in the setup page where valid domains that start with a number
would be captured by the validation check designed to detect IP
addresses. This check detects IPs by comparing the host name to a regex,
instead of simply detecting whether the first character is a number.