modified getLastChild to fetch from relation if exists; appendChildren now checks last child for nulliness
modified getLastChild to fetch from relation if exists; appendChildren now checks last child for nulliness

franzose/ClosureTable,ramirezd42/ClosureTable,EspadaV8/ClosureTable,rafis/ClosureTable