check if valid template
fix xml subfolder not renamed
convert flat toc to mac style finder structure
test suite for flattoc
flat toc rewrite
sam teach me how to use Array.slice
Merge branch 'dev'

Conflicts:
	.gitignore
	scaffold.js