Feature/finalise template creator

Here's the final TemplateCreator module. I will try and write up a detailed wiki about this tomorrow but it basically works and it should just need tweaking for optimisation (which I'm not worrying too much about now).

Currently, it takes about 15 minutes to run on run 2808 and most channels have a converged template by the end (although not all and not all that converge are that good).

There were only a couple of files that already existed and had work done on develop which I want to draw attention to:
 - SetupNavigator: I added a function to get the pedestal noise from the SQLite database generated by PlotPedestalsAndNoises
 - ExportPulse: I slightly modified the DrawTPI function so that the correct pulse errors were included in the histogram. This was because I wanted to draw them for debugging but in the end I think I never used ExportPulse and did it myself in TemplateCreator

I'll leave this here for a couple of days but would like to merge it onto develop soon so that I can rebranch off and get started on the TemplateAPGenerator.