added two more exit codes, usage of $wgExternalSharedDB, updated documentation