Memory plugin: Add "ValuesPercentage" option.

This is a cherrry-picked and improved version of @katzj 's patch to the memory plugin. It is supposed to replace collectd#501.