sort system tables first in test-cleandb and fix typo in config

@gwicke - sorry for merging #66, this is a fix for you comment here https://github.com/wikimedia/restbase/pull/66#commitcomment-8882069