Fix #19 Throw appropriate failure messages.

This PR will address #19 by informing the user that a 500 error has been encountered. It also triggers a grunt failure when the PHP server fails to start after 20 attempts.
might as well coerce this to a number so the checks below looks a bit nicer