Merge pull request #9 from benjreinhart/spies

bond#to creates a through spy on function values
Added Makefile
Fixed errors occurring in browser envs from undefined vars