Update license to "Apache 2.0" in setup.py

Also remove unused imports and improve spacing in setup().

Signed-off-by: Christophe Vu-Brugier <cvubrugier@yahoo.fr>
Don't import doctest globally; just import it in _test()

This improves load time because doctest is a large module. On my
machine, removing the global import of doctest decreases load time
from 60 ms to 30 ms.

Signed-off-by: Christophe Vu-Brugier <cvubrugier@yahoo.fr>
Merge pull request #28 from cvubrugier/for-agrover

Pull request for my for-agrover branch