Moved metadata to __init__.py.

setup.py raised ImportErrors on systems without dependencies installed.