Added usage of custom events to README.md

Updated the README to include the usage of custom events. The content is directly copied from https://github.com/twitter/typeahead.js/issues/163.