Changed DB.getDays() behaviour with databases without days

The old version returned null, the new one (as described in its docstring)
returns an empty list.