Bugfix in RdfUtil.toQuickString.
The regex didn't match for all possible characters.
E.g: http://dbpedia.org/resource/...To_Save_Us_All_from_Satan's_Power .
Also, the regex could return null if there was no match, causing the program to halt.
The current solution tries to match more strings, but doesn't crash if there was no match.
Speed up variable and blank tests.