basePathFromReferer parameter added to ApiDocumetationController, this adds ability to construct basePath using referer URL if basePath is empty.
Merge pull request #27 from dayman/master

basePathFromReferer parameter added to ApiDocumetationController