Added type to tree entry object

Hey,

I needed quick access to determine easily if the tree entry object is another tree or a blob. So since this is already retrieved, just not returned I added it to the returned array.