Added collections.getTree support

Just a simple modification to allow a user to obtain collections. Can then be parsed as usual as it just returns a list of photosets.