Template editor's new features

The start of these features were completed in LRDOCS-498. I added additional info pertaining to the tickets listed below. I also updated the ADT section with these features since it uses a similar template editor.

https://issues.liferay.com/browse/LRDOCS-614
https://issues.liferay.com/browse/LRDOCS-615