Use plone.api to access plone site.

Fixes #552, i.e. an issue with AJAX request from z3c.form inline validation.
Fix tree javascript for inboxes.

An empty js-selector evaluates to true as well. doh.
Merge pull request #567 from 4teamwork/deif-fix-inline-validation-error

Use plone.api to access plone site.
Merge pull request #570 from 4teamwork/deif-fix-inbox-tree

Fix tree javascript for inboxes.
Added option to checkin documents without comment.
Pep8.
Fix typo in function name.
Bump default profile version to 4000.
Correclty remove replaced checkin action.
Refactor checkin, create separate classes for each possible action.

There are four different possibilities to checkin documents:
 - checkin one document without comment
 - checkin multiple documents without comment
 - checkin one document with comment
 - checkin multiple documents with comment

 Add a sepearate view and in case of the comment form separate form classes
 for each of above actions.
Update history, move entry to correct section.
Rename CheckinCheckoutManager method `checked_out` to `get_checked_out_by`.