DATAREST-276 - RepositoryRestHandlerMapping now works with absolute base URIs.

Refined the algorithm to detect the lookup path within the configured base URI, even if the base URI was defined in an absolute way. Also, solidified the implementation against URIs with trailing slashes.