Improve transients & cache invalidation
neaten up
cleanup function
remove extra _
Merge pull request #9 from humanmade/fix-hmrp

Fix hmrp