Add missing runtime substitution params in initial GetCapabilities

As for now, the initial getcapabilities request done for instance when generating the viewer.js does not take into account the runtime substitution parameters from the functionalities.