Removing hard-coded repository URLs

* All repository URLs now come from JMS messages (or the reindex servlet's baseURI parameter)
* Fixes https://www.pivotaltracker.com/story/show/72351918
Define a variable from whence the magic number "8" is derived.