Adding goals by value field #1123

I've added the ability to use the usual stats (eg. mean or total) on a specified value field in the goal panel. This was mentioned in issue #1223, but we needed it as well.

This is my first pull request for kibana, and I completed and signed the contrib agreement on the elasticsearch website a little earlier today.

Thanks,
-J