Use plone.api to access plone site.

Fixes #552, i.e. an issue with AJAX request from z3c.form inline validation.
Merge pull request #567 from 4teamwork/deif-fix-inline-validation-error

Use plone.api to access plone site.