wikilink creating refactored to _resolveinterwiki().

Added DOKU_BASE for local target
code reformatting