Javascript updates
The populatePage function now only selects elements of known id or class. Custom pages must now be in a container with the class "result".
Dispatch functionality was extended to allow client0 to dispatch tickets if desired.
The fetch_template was extended to allow for custom headers to be used.