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.
Collapsed JSON templating code into template code