Fixed pyflakes issues in apwan.ajax and apwan.models
Cleaned up some pylint warnings in [apwan/core/entitygen/]
Cleaned up most warnings in [apwan.core.payment]