Layer table model now uses Layer objects directly
Remove leftovers from Layer TreeWidget
Add document settings table to store active layer