Add test for failing total promise in ODL#renderQuery
Replace ODL#_refreshDeferred with a promise chain
Fix tree to respect query start and count options