Updatet printNodes.py to function with the rest of the codebase

* Removed dead code
* Replaced the now unnecessary parameter 'wikiconf' with a lookup in paths.txt
* Fixed loading of mwlib.cdb