Rename LIB_DIR constant in FF_LIB_DIR

... in order to avoid clashes with other libraries.
Make Curl dependency optional

An object implementing CurlInterface now only has to be given to request
factories if they should NOT use PHP's cURL module - i.e. only when cURL
should be stubbed.