Do not commit document on space

- commit is not needed anymore due to changed logic of multicaret handling
- reimplement SpaceTypedHandler with TypedHandlerDelegate
- commit single document for custom templates
(cherry picked from commit 7d03fdd,r=mossienko)
Sort members in MemberChooser dialog on open if "sort by alphabet" is selected
(cherry picked from commit 6e4b6fd) (r=Dmitry Batkovich)