Make is_editable_by_user return an instance.

Changed it's name from is_editable_by_user to get_editable_by_user and
also made it return an instance if user is allowed to edit or None
otherwise.
Change call from is_editable_by_user to get_editable_by_user
Merge branch 'development' of github.com:visgence/portcullis into development