fixes in test
removed mocks from testMoveTo method
found more elegant way to save entity and it closure with events; updated test; moveTo method now accepts integer id as an ancestor
made methods for model events
modified getLastChild to fetch from relation if exists; appendChildren now checks last child for nulliness
optimized queries of children and subtree removal