Add support for the histogram transformation

The develop branch of the server has support for a histogram transformation (imbo/imbo#285). The client should support this as well.