Repair quota database table if it doesn't exist

Fixes MN-2433
Signed-off-by: Joe Mills <joe@midokura.com>