Added GroovyScript server-side scripting
Added position index and changed tree view to use position,name for
document sort order
cleanup