Added a license and updated setup.py.

Changed license from LGPL to New BSD, which is a little bit more
permissive.