Fixing the broken masked WMS layer factory.
Fixing the broken masked outline WMS layer factory.
Minor refactoring the colorized mask WMS layer factory.