added children method

also,first attempt of moveUp()
children() & moveUp completed

test cases updated
fix `Use classes must be in alphabetical order`
more PHPCS=1 fixes...
update, code adjustments

- getMaxOrMin visibility
- strict comparison.
Merge pull request #3096 from quickapps/3.0-tree-behavior

3.0 tree behavior