Fix #56 style tags in HTML cause an Xpath invalid query error

- remove wrapper around CSS that cause wrong selector match on first CSS rule
- enhance regular expression for matching CSS selector and rules\
- add unit tests