#17 Refactored some code to bring back time updates and layer ordering
to WMTS GetCapabilities