Some performance on randomized/shortening API functionality. Reordering the if conditions within tree traversal.
Merge branch 'master' of github.com:OpenPhilology/phaidra