add CSS4 selector tests
@document test per https://developer.mozilla.org/en-US/docs/CSS/@document
parser fixes
Merge pull request #46 from robocoder/css4

CSS4 selector support