Remove un-used lines of code
pep8 fixes on ui.packages
pep8 fixes on ui.acls
pep8 fixes in the forms
pep8 fixes in lib.model