opening app in active tab when url specifies layer name

and fixing issue in which theme was not opening (when url specifies
layer name) because specified layer was sublayer
adding wcodp-md initial data fixture
fixing a failing media request