RESTEASY-1077 Trailing slash

Add test for trailing slashes that fails for resteasy

Test fails when a trailing slash is present. 
Issue:
https://issues.jboss.org/browse/RESTEASY-1077
A test to ensure that the trailing slash is saved in URI context