by default build from the master branch
add instructions for using the correct branches for the releases
Added curl as a dependency in case it might not be already be installed. Also added a short timeout to let riak start up
update the script with timeout and add curl as dependency