Replace deprecated method on test
Follow plone.api conventions about imports
Fix utf-8 headers
PEP 8
Nuke trailing whitespaces and tabs