Allow client checks to be ordered by history, name, output and time

Addresses https://github.com/sensu/uchiwa/issues/139