Create ve#contains

A slightly more useful version of jQuery#contains.

Change-Id: I7ed4eef7e1f5ad38e1d31939d04dd411855166a2