Changes to support use of URIs instead of URLs for the basePath defined in the grape-swagger add_swagger_documentation method call as well as changes to minimize the need for a fixed string to define the discoveryUrl in the index.html file.  Will continue this refactoring tomorrow...