Pass object into renderExpando function

Pass underlying object to renderExpando implementation so that expando may be customized on a row by row basis.
Merge pull request #427 from pags/master

Pass object into tree.js renderExpando function.