An implementation of the JSON service registry that is able to write services back out to the resource. Added spock test.

Also cleaned up the way JSON svc registry detects service patterns.
Updated iml file
Updated iml file to match IDEA version.
Allowed JSON service registry to still require REGEX_PREFIX for determining regex service instances.
Merge branch 'master' into experimental
Merge branch 'master' of github.com:Unicon/cas-addons

Conflicts:
	cas-addons.iml