Template editor's new features

The start of these features was completed in LRDOCS-498. I added additional info pertaining to the tickets listed below. I also updated the ADT and DDL sections with these features since they use a similar template editor.

https://issues.liferay.com/browse/LRDOCS-614
https://issues.liferay.com/browse/LRDOCS-615