Fix indentation.
Bug fix, students can create versions again.
Add sequentialdocuments_controller::action_edit_access().
Remove warnings.