Add insert and log helpers

Insert allows the user to insert arbitrary javascript values into a promise value (assuming it is an object)

Log allows the user to debug or log promise values.