Add db argumento to runtestserver to use different DBMS

runtestserver command now accepts the --db argument to use database other than sqlite