add option to clear pending updates
check if upadate is valid in calculate updates, remove pending update if invalid
return pending updates in info, helper methods for clearing and removing a pending update
check update invalid returns success but does not commit or remain pending, closes 596
Merge pull request #611 from modilabs/596-faster-add

596 faster add