added sonatype configuration in the pom so it can be published in Maven central
many small modifications to enable the integration with the MapQuery example