chore(cockpit/core/resources): Change order to load resources

- try at first to load resources as webapp resource and then as classpath
  resource

related to CAM-1420