status code getter, useful for quickly reporting back a conversion stat...

...us to web services

Moritz is making heavy use of this code for MediaWiki, as it avoids having to parse the log.