Add support for extends='' and list-of='' tags to the <schema> element. The attributes are parsed and some sanity-checking is done but currently nothing happens as a result. Add some tests.