refactor a bit, made sure object is properly propagated down the tree, and made trees nestable
Merge branch 'master' of github.com:tanema/behaviourtree.lua