Add LGPL header to all python files.

Add license information into the source files, to make it easier for distributors to track license status of the project.