Fully support plate manifest generation.

Extracted resource creation from tube generator.
Added plate generator.
Fixed up the custom Ajax for manifest template handling.
Moved manifest merger URL out into configuration.
Made template registration a bit cleaner.
Fixed up some of the template configuration behaviour

Collapsed JSON templating code into template code
Aliquot type is bound to the sample type, not template directly