Fixed issues with not having requests installed.

Made requests truely optional. However, tests requiring
requests will fail if requests is missing.