Ported tests to plone.app.testing and pep8 - v3

@tomgross ptc porting - third trial to merge, see #10 then revert #11, v2 at #12, and revert of v2 at #13 - phew