added Collection#inspect for convenience
added condition parsing to parseSelector
got working implementation of attribute-style selectors