Added cURL extension check

Never assume that a developer has libcurl installed. If they don't, give them a helpful exception. Usually constructors don't have any sort of logic in them, but it's okay to check that the class will actually work here.
Merge pull request #2 from J7mbo/patch-1

Added cURL extension check