Added option to set custom data for category tree

This way, we can use helper_tree inside helper_form more universaly