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.
Merge pull request #4 from yola/add_insert

Add insert and log helpers