Modules: Changed templates to use cms:optional.
Template handler: Removed legacy tags.
Modules: Refactor legacy tag format to new one.