Make metric filter's rate and percentiles configurable

There was a TODO message on the code for this. I hope the implementation and tests are ok.

 -      # TODO(sissel): Maybe make this configurable?
 -      #   percentiles => [ 0, 1, 5, 95 99 100 ]