Add support for the keepLastValue function

The keepLastValue function takes one metric or a wildcard list of metrics
and optionally a limit to the number of 'None' values to skip over.

It continues the line with the last received value when gaps appear in the
data, rather than breaking the line.