added support for special selector functions on selectors

provided particular validators for :first-of-type and :last-of-type
fixed bug when multiple strict hierarchies where in sequence.

now css selectors of the type "body > div > article" are correctly detected and applied