Handle multiple directories when searching for the theme

This patch introduces support for the "/foo/bar:/foo/baz" syntax for the
configuration key "themes_dir", and make the search go through thoses
first, then try the default dir, and only then fails if no theme has
been found.