Added .Matches() method.

Also changed the readme usage to reflect what is actually happening on the
transition callback event. Updated index test to different text because of
the way the resize fallback functions.