ENH: contains

Addresses and closes #1013

cc @agramfort