[settings] Use in-memory sqlite database for cmdline tests

2 jobs for scheduler
Status Job ID Name Coverage
  Test
passed #2424
lidiap2015
py27-linux

00:20:53

passed #2425
beat-macosx
py27-macosx

00:12:51