* Backport from trunk * Partial fix (ending slash missing) * Accessing a versioned context without the final slash does not return an error 404. * Added a test for the same.