Pseudos support and retrieving inherited styles in one call

This fixes #36 and adds pseudo elements support.