Refactored [].ancestor & [].siblings

Updated [].ancestor to consolidate tests for selector matches.
Updated [].siblings to work more consistently with selectors.
Updated [].ancestor unit test to test for array length.