Add Mousetrap.record() method to capture and return keyboard sequences

Strangely enough, I decided I wanted something like this at almost the same time as @evitolins (see #109).

You said you'd prefer this as an extension; but I figured it couldn't hurt to submit the pull request and see what you think. I also added a little tester to your 'peanut butter' UI.