Allow a settings file to extend multiple settings file

The extends settings can be specified as a string (just like before)
and can also now be specified as a list. In the latter case, settings
specified later in the list will override settings specified earlier in
the list.
Don't require a file name when extending a section in the same file

E.g.: `extends = "#section"`