When available, use the resource basePath when creating route handles for swagger-metadata

Fixed #14