Pretty print responses and exception reports and choose appropriate namespace prefixes for OWS and WPS


Is it just me or does anybody else hate looking at one-line-responses?

## Before

### GetCapabilities
```xml
<?xml version="1.0" encoding="UTF-8"?>
<ns:Capabilities xml:lang="en-US" service="WPS" version="1.0.0" updateSequence="1" xmlns:ns="http://www.opengis.net/wps/1.0.0"><ns1:OperationsMetadata xmlns:ns1="http://www.opengis.net/ows/1.1"><ns1:Operation name="GetCapabilities"><ns1:DCP><ns1:HTTP><ns1:Get xlin:href="http://localhost:12121/WebProcessingService?" xmlns:xlin="http://www.w3.org/1999/xlink"/></ns1:HTTP></ns1:DCP></ns1:Operation><ns1:Operation name="DescribeProcess"><ns1:DCP><ns1:HTTP><ns1:Get xlin:href="http://localhost:12121/WebProcessingService?" xmlns:xlin="http://www.w3.org/1999/xlink"/></ns1:HTTP></ns1:DCP></ns1:Operation><ns1:Operation name="Execute"><ns1:DCP><ns1:HTTP><ns1:Get xlin:href="http://localhost:12121/WebProcessingService?" xmlns:xlin="http://www.w3.org/1999/xlink"/><ns1:Post xlin:href="http://localhost:12121/WebProcessingService" xmlns:xlin="http://www.w3.org/1999/xlink"/></ns1:HTTP></ns1:DCP></ns1:Operation></ns1:OperationsMetadata><ns:ProcessOfferings><ns:Process ns:processVersion=""><ns1:Identifier xmlns:ns1="http://www.opengis.net/ows/1.1">com.github.autermann.wps.matlab.add</ns1:Identifier><ns1:Title xmlns:ns1="http://www.opengis.net/ows/1.1">add</ns1:Title></ns:Process></ns:ProcessOfferings><ns:Languages><ns:Default><ns1:Language xmlns:ns1="http://www.opengis.net/ows/1.1">en-US</ns1:Language></ns:Default><ns:Supported><ns1:Language xmlns:ns1="http://www.opengis.net/ows/1.1">en-US</ns1:Language></ns:Supported></ns:Languages></ns:Capabilities>
```

### DescribeProcess
```xml
<?xml version="1.0" encoding="UTF-8"?>
<wps:ProcessDescriptions xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows/1.1" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsDescribeProcess_response.xsd" xml:lang="en-US" service="WPS" version="1.0.0"><ProcessDescription statusSupported="false" storeSupported="true" wps:processVersion=""><ows:Identifier>com.github.autermann.wps.matlab.add</ows:Identifier><ows:Title>add</ows:Title><ows:Abstract>adds two values</ows:Abstract><DataInputs><Input minOccurs="1" maxOccurs="1"><ows:Identifier>a</ows:Identifier><ows:Title>first operand</ows:Title><ows:Abstract>first operand</ows:Abstract><LiteralData><ows:DataType ows:reference="xs:double"/><ows:AnyValue/></LiteralData></Input><Input minOccurs="1" maxOccurs="1"><ows:Identifier>b</ows:Identifier><ows:Title>second operand</ows:Title><ows:Abstract>second operand</ows:Abstract><LiteralData><ows:DataType ows:reference="xs:double"/><ows:AnyValue/></LiteralData></Input></DataInputs><ProcessOutputs><Output><ows:Identifier>result</ows:Identifier><ows:Title>the result</ows:Title><ows:Abstract>the result of the addition</ows:Abstract><LiteralOutput><ows:DataType ows:reference="xs:double"/></LiteralOutput></Output></ProcessOutputs></ProcessDescription></wps:ProcessDescriptions>
```

### ExceptionReport
```xml
<?xml version="1.0" encoding="UTF-8"?>
<ns:ExceptionReport version="1.0.0" xmlns:ns="http://www.opengis.net/ows/1.1"><ns:Exception exceptionCode="MissingParameterValue"><ns:ExceptionText>Data Identifier not supported: c</ns:ExceptionText></ns:Exception><ns:Exception exceptionCode="JAVA_StackTrace"><ns:ExceptionText>org.n52.wps.server.request.ExecuteRequest.initForGET:210
org.n52.wps.server.request.ExecuteRequest.&lt;init>:146
org.n52.wps.server.handler.RequestHandler.&lt;init>:153
org.n52.wps.server.WebProcessingService.doGet:235
javax.servlet.http.HttpServlet.service:735
org.n52.wps.server.WebProcessingService.service:345
javax.servlet.http.HttpServlet.service:848
org.eclipse.jetty.servlet.ServletHolder.handle:698
org.eclipse.jetty.servlet.ServletHandler.doHandle:519
org.eclipse.jetty.server.handler.ContextHandler.doHandle:1097
org.eclipse.jetty.servlet.ServletHandler.doScope:446
org.eclipse.jetty.server.handler.ContextHandler.doScope:1031
org.eclipse.jetty.server.handler.ScopedHandler.handle:136
org.eclipse.jetty.server.handler.HandlerWrapper.handle:97
org.eclipse.jetty.server.Server.handle:445
org.eclipse.jetty.server.HttpChannel.handle:269
org.eclipse.jetty.server.HttpConnection.onFillable:229
org.eclipse.jetty.io.AbstractConnection$ReadCallback.run:358
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob:601
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run:532
java.lang.Thread.run:744
</ns:ExceptionText></ns:Exception><ns:Exception exceptionCode="JAVA_RootCause"/></ns:ExceptionReport>
```

### Execute
```xml
<?xml version="1.0" encoding="UTF-8"?>
<ns:ExecuteResponse xmlns:ns="http://www.opengis.net/wps/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsExecute_response.xsd" serviceInstance="http://localhost:12121/WebProcessingService?REQUEST=GetCapabilities&amp;SERVICE=WPS" xml:lang="en-US" service="WPS" version="1.0.0"><ns:Process ns:processVersion=""><ns1:Identifier xmlns:ns1="http://www.opengis.net/ows/1.1">com.github.autermann.wps.matlab.add</ns1:Identifier><ns1:Title xmlns:ns1="http://www.opengis.net/ows/1.1">add</ns1:Title></ns:Process><ns:Status creationTime="2013-12-19T20:02:18.272+01:00"><ns:ProcessSucceeded>Process successful</ns:ProcessSucceeded></ns:Status><ns:ProcessOutputs><ns:Output><ns1:Identifier xmlns:ns1="http://www.opengis.net/ows/1.1">result</ns1:Identifier><ns1:Title xmlns:ns1="http://www.opengis.net/ows/1.1">the result</ns1:Title><ns:Data><ns:LiteralData dataType="xs:double">1.2312324435532E12</ns:LiteralData></ns:Data></ns:Output></ns:ProcessOutputs></ns:ExecuteResponse>
```

## After

### GetCapabilties
```xml
<?xml version="1.0" encoding="UTF-8"?>
<wps:Capabilities xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlin="http://www.w3.org/1999/xlink" xml:lang="en-US" service="WPS" version="1.0.0" updateSequence="1">
  <ows:OperationsMetadata>
    <ows:Operation name="GetCapabilities">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlin:href="http://localhost:12121/WebProcessingService?"/>
        </ows:HTTP>
      </ows:DCP>
    </ows:Operation>
    <ows:Operation name="DescribeProcess">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlin:href="http://localhost:12121/WebProcessingService?"/>
        </ows:HTTP>
      </ows:DCP>
    </ows:Operation>
    <ows:Operation name="Execute">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlin:href="http://localhost:12121/WebProcessingService?"/>
          <ows:Post xlin:href="http://localhost:12121/WebProcessingService"/>
        </ows:HTTP>
      </ows:DCP>
    </ows:Operation>
  </ows:OperationsMetadata>
  <wps:ProcessOfferings>
    <wps:Process wps:processVersion="">
      <ows:Identifier>com.github.autermann.wps.matlab.add</ows:Identifier>
      <ows:Title>add</ows:Title>
    </wps:Process>
  </wps:ProcessOfferings>
  <wps:Languages>
    <wps:Default>
      <ows:Language>en-US</ows:Language>
    </wps:Default>
    <wps:Supported>
      <ows:Language>en-US</ows:Language>
    </wps:Supported>
  </wps:Languages>
</wps:Capabilities>
```

### DescribeProcess
```xml
<?xml version="1.0" encoding="UTF-8"?>
<wps:ProcessDescriptions xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows/1.1" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsDescribeProcess_response.xsd" xml:lang="en-US" service="WPS" version="1.0.0">
  <ProcessDescription statusSupported="false" storeSupported="true" wps:processVersion="">
    <ows:Identifier>com.github.autermann.wps.matlab.add</ows:Identifier>
    <ows:Title>add</ows:Title>
    <ows:Abstract>adds two values</ows:Abstract>
    <DataInputs>
      <Input minOccurs="1" maxOccurs="1">
        <ows:Identifier>a</ows:Identifier>
        <ows:Title>first operand</ows:Title>
        <ows:Abstract>first operand</ows:Abstract>
        <LiteralData>
          <ows:DataType ows:reference="xs:double"/>
          <ows:AnyValue/>
        </LiteralData>
      </Input>
      <Input minOccurs="1" maxOccurs="1">
        <ows:Identifier>b</ows:Identifier>
        <ows:Title>second operand</ows:Title>
        <ows:Abstract>second operand</ows:Abstract>
        <LiteralData>
          <ows:DataType ows:reference="xs:double"/>
          <ows:AnyValue/>
        </LiteralData>
      </Input>
    </DataInputs>
    <ProcessOutputs>
      <Output>
        <ows:Identifier>result</ows:Identifier>
        <ows:Title>the result</ows:Title>
        <ows:Abstract>the result of the addition</ows:Abstract>
        <LiteralOutput>
          <ows:DataType ows:reference="xs:double"/>
        </LiteralOutput>
      </Output>
    </ProcessOutputs>
  </ProcessDescription>
</wps:ProcessDescriptions>
```

### ExceptionReport
```xml
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1" version="1.0.0">
  <ows:Exception exceptionCode="MissingParameterValue">
    <ows:ExceptionText>Data Identifier not supported: c</ows:ExceptionText>
  </ows:Exception>
  <ows:Exception exceptionCode="JAVA_StackTrace">
    <ows:ExceptionText>org.n52.wps.server.ExceptionReport: Data Identifier not supported: c
  at org.n52.wps.server.request.ExecuteRequest.initForGET(ExecuteRequest.java:210)
  at org.n52.wps.server.request.ExecuteRequest.&lt;init>(ExecuteRequest.java:146)
  at org.n52.wps.server.handler.RequestHandler.&lt;init>(RequestHandler.java:153)
  at org.n52.wps.server.WebProcessingService.doGet(WebProcessingService.java:236)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
  at org.n52.wps.server.WebProcessingService.service(WebProcessingService.java:346)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
  at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:698)
  at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:519)
  at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1097)
  at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:446)
  at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1031)
  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
  at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
  at org.eclipse.jetty.server.Server.handle(Server.java:445)
  at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:269)
  at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:229)
  at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358)
  at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601)
  at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532)
  at java.lang.Thread.run(Thread.java:744)</ows:ExceptionText>
  </ows:Exception>
  <ows:Exception exceptionCode="JAVA_RootCause"/>
</ows:ExceptionReport>
```

### Execute
```xml
<?xml version="1.0" encoding="UTF-8"?>
<wps:ExecuteResponse xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows/1.1" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsExecute_response.xsd" serviceInstance="http://localhost:12121/WebProcessingService?REQUEST=GetCapabilities&amp;SERVICE=WPS" xml:lang="en-US" service="WPS" version="1.0.0">
  <wps:Process wps:processVersion="">
    <ows:Identifier>com.github.autermann.wps.matlab.add</ows:Identifier>
    <ows:Title>add</ows:Title>
  </wps:Process>
  <wps:Status creationTime="2013-12-19T19:26:26.242+01:00">
    <wps:ProcessSucceeded>Process successful</wps:ProcessSucceeded>
  </wps:Status>
  <wps:ProcessOutputs>
    <wps:Output>
      <ows:Identifier>result</ows:Identifier>
      <ows:Title>the result</ows:Title>
      <wps:Data>
        <wps:LiteralData dataType="xs:double">1.2312324435532E12</wps:LiteralData>
      </wps:Data>
    </wps:Output>
  </wps:ProcessOutputs>
</wps:ExecuteResponse>
```


btw.: is right that `ProcessDescription` and it's inner tags have no namespace?

```java
public static void main(String[] args) {
  ProcessDescriptionsDocument document = ProcessDescriptionsDocument.Factory.newInstance();
  document.addNewProcessDescriptions().addNewProcessDescription();
  System.out.println(document.xmlText(new XmlOptions().setSavePrettyPrint()));
}
```

will result in this:
```xml
<ns:ProcessDescriptions xmlns:ns="http://www.opengis.net/wps/1.0.0">
  <ProcessDescription/>
</ns:ProcessDescriptions>
```