Remove trailing spaces
Ignore unused imports in generated files
Add some Widget functions and fix many warnings

This should allow gtk and gtk3 packages to be built with ghc options
-fwarn-unused-imports and -fwarn-unused-binds