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.
Same as above.