Add a outline tree view

implements pyQode/pyQode#4