Plone 4.3 compatibility. This fixes several bugs

This was more complex than expected.
- Fix imports
- Fix JS
- Rewrote some mocktests to integration tests
- This pull-request depends on ftw.poodle PR https://github.com/4teamwork/ftw.poodle/pull/13 (merged)

@deiferni you may take a look