Added check for curl at startup

Curl is not installed on debian 7 by default. 
script was failing without 'good' error message.

Now existence of curl is checked before starting the script.