Fixed a crash when calling method=runtestremote on a component on Railo ...

When using the HTML Test View of MXUnit on Railo 4.2+ clicking a test link to run causes a Invalid XML error. This error is caused by Railo Issue: https://issues.jboss.org/browse/RAILO-1032

The cause is Railo returning a XML content type for all CFC remote requests. This patch works around this issue by explicitly setting a content type according to the type of test that is being run.

When requiring test results to be returned in XML format white space would break the XML parser in some clients. This patch resolves this issue by setting enablecfoutput to true.

WARNING: The enabling of  enablecfoutput is BREAKING change as this requires wrapping result.getResultsOutput() in cfoutput tags. If this is not done CSS are not applied.

Also I just took a best guess at the correct content types.

Just sharing this patch in case someone is looking to get MXUnit working until Railo fixes the logged issue.

Tested on Railo 4.2 and Open Bluedragon 3.0