Revert "This commit was previously reverted in develop:"

This reverts commit da7fe19b91398563359b5703f21e082f9c837e21.
The revert which was previously reverted, has been been reverted back.

LILY-173 convert invitations to new template

The Metronic template is now in use on the invitation page.

To minimize code reuse, a new block {% block form-formsets %} has been added to
form.html.

Conflicts:
	lily/users/forms.py
LILY-13 Convert invitations to new template

The accept and accept_invalid were previously not converted to the new
templates.
Fix: illegal state bug in email detail view
Fixed counts of email/deals/cases in DetailViews of Contact and Account
Merge branch 'develop' of github.com:HelloLily/hellolily into develop
LILY-202: set ordering from unread email count
LILY-249: parts were renamed, so template parsing works as expected however this is a little cleanup
LILY-222& LILY-203: disable parsing in wysihtml5 editor. Keeps original html intact.
LILY-309: created loginrequiredmixin

also refactored everything in cases.