added license headers and doxygen file information

plus replaced tabs with spaces
addressed comments from @mehlis
Merge pull request #619 from mehlis/sys-license

added LGPL header and doxygen headers
Merge pull request #606 from OlegHahm/license_issues

added license headers and doxygen file information
added check for licenses