Issue 806: Implement hyper.rewrite(Sum)

This adds the function ```_eval_rewrite_as_Sum``` to the class ```hyper```.

I am not sure if I should add a test for this (or how it should look like).