More generic algorithm to clean endpoint URL of trailing spaces. Setting Stardog server port in default
Changing test cases to use new stardog server port
Changes to match latest version of Stardog (2.0.2)