Added support for the /gallery/{folderid} endpoint.
Added support for the /gallery/folders endpoint.