default select the last/first resource in the tree
Merge branch 'new-design' of git://github.com/oat-sa/tao-core into new-design