Added command getAllPages
refactorings

* Added a few methods to register common options
* Added abstract ItemListToStringCommand to avoid duplication for such a common workflow
* Promote the JSAPResult as a field, to avoid passing it around from methods to methods
Added command getBackLinks
Added command getRecentChanges
Added command getReentMediaChanges
Added command getAttachmentInfo
Fix: setLocks failed to retrieve failedLock

Added the test which would have prevented it
Merge branch 'master' into HEAD
Added commands lock and unlock

Conflicts:
	src/dw/xmlrpc/itest/T_Lock.java