Pull up key value pair

pull the Heroku URI-based service parsing up into core in prep for reuse in the properties connector, and pull out magic URI schemes into constants