Adding emote.js plugin

The emote plugin replaces the pat and pet plugins and generalizes emote definition to make it easier to add more.

Still not completely happy with the customization (and execution). Will probably revisit this later.