Do not require requests at installation time

setup.py was importing requests for use by py2exe. However, requests
might not be available at the time setup.py is being executed. Moved
the "import requests" statement at the point where it is actually
required.