if base_path is relative make it absolute using request.base_uri

This PR fixes some troubles with relative path and swagger-ui version 1.2.
"The spec says base path needs to be absolute." from here -> https://github.com/wordnik/swagger-ui/issues/114