Moved the main table from template to its own file.
This will made code less redundant (70 lines less for every template)
and more flexible in case of table's modifications.
The variable "template" will be generated before choosing
if we have to send a mail or generate a PDF letter and will
be used to build the name of the template that will be rendered
into PDF.
Merge pull request #9 from MattBlack85/templates_reforging

Templates reforging merged to master.