add do function to sandbox
remove side_effects, add test for do
Merge pull request #141 from mrocklin/do

Replace side_effects with do in sandbox