Templates: clean up task

All the templates packaged with the plugins were in terrible shape: Mixed Tabs/Spaces, closing PHP tags at the end of the files, endless line length that needed horizontal scrolling on GitHub, etc.

The pull request focuses on code readability and code structure that allows easier reading and understanding of HTML element nesting. Cleaned up all Tabs/Spaces, etc. Added missing `id`s to match the labels and what-not-else.

I'm pretty sure that lots of the edges could be ironed out with simply reworking the if/else statements. This would as well flatten the structure allowing for longer lines.