Implement option.type filtering in #hitTest() functions.
Merge git://github.com/paperjs/paper.js