fixed FormPopulationFilter XML Prolog detection
fixed incorrect output mode auto-detection
really fixed incorrect output mode auto-detection
improved action detection for subdirs without base href. sucks and might break in certain ambiguous situations, but it's the best I can do for now