Faster implementation of filter. Leaving old method for performance testing

This implementation improves performance a lot, although is not as faster as Sizzle.filter used by jQuery.
It tries to perform better in loops, specially decreasing time when creating ghost parents.

I have used Julien's test example for measuring times.
https://github.com/manolo/testissue146/commits/master