add -f switch to curl options so that it will exit with non-zero return code if request fails
Merge pull request #156 from prymitive/fix_travis

Make travis fail is test request had errors