AUI-1279 Remove ancestors implementation and update ancestorsByClassName

- Removes custom `ancestors` implementation, which was clashing with YUI's method.
- Updates `ancestorsByClassname` with `testSelf` option to match ancestors default behaviour

cc @ipeychev, @natecavanaugh