Fix #286. Also consider colon in OntoWiki_Utils::compactUri method.