Support @document
Support @document
Support @document
Fix case for 3+ matching functions
Support empty document query rules, make CSS:Media only apply to actual media rules
Merge remote-tracking branch 'jasonbarnabe/documentquery' into css3

Conflicts:
	lib/csspool/css/parser.y
	lib/csspool/css/tokenizer.rex