ISPN-4046 Extend the remote query quickstart build to create the protobi...

...n descriptor automatically

* Also do some minor refactoring and beautification

Jira: https://issues.jboss.org/browse/ISPN-4064