IntermediateNode URI naming

IntermediateNode URI naming excluded any part of the name that was included in the main resource.
e.g. http://dbpedia.org/page/Fredericksburg_Hotspur ended with 'r' and any name starting with 'r' was removed from the URI.
With this fix we start checking from the last word or the complete resource name

Fixes #292