Add grains.append, grains.remove, and grains.delval methods to the grains module