implemented "add_function" which allows us to patch new functions onto subjects, even if they weren't there before.
Merge branch 'master' of github.com:krieghan/ruby-doubles