Added application system_env_json query api support.

See https://groups.google.com/a/cloudfoundry.org/d/msg/vcap-dev/9yTwuspvACk/Yy-CUuhAprYJ