Issue #143 added whitelisted functions feature

Issue : https://github.com/twitter/hogan.js/issues/143

Added the necessary methods, tests and documentation updates for supporting whitelisted functions using Hogan.js.