auto discover available stylesheets

they are actually directory names in static/css/
see also #14667
Merge branch '4.2/auto-discover-stylesheets' into 4.2-trunk