Add the missing HashToken object.

It was correctly used but never defined.
Merge pull request #1 from SimonSapin/master

Add the missing HashToken object
Give the right name to Function.toJSON
Ignore white space in rule mode, do not create a selector.

Test case:

    @media{ }

The same bug exists in the spec:
http://lists.w3.org/Archives/Public/www-style/2012Jul/0345.html
Add a test runner and some tests.

The tests only pass with the other pull requests applied.
Merge pull request #3 from SimonSapin/function-prototype

Give the right name to Function.toJSON
Merge pull request #4 from SimonSapin/rule-mode-ws

Ignore white space in rule mode, do not create a selector.
Merge
Only grab the example.html changes from the branch.
Rename create() to push(), to parallel pop().
Rename fillType='decl' to 'declaration', simplify the parser case where that's referenced.
Add a msg argument to parseerror(), fill in messages for all the calls.
Rename SelectorRule to StyleRule to match CSSOM nomenclature.
Make the catchall mode exit the function rather than continuing (and infinite-looping).
Rename Function to Func, to avoid clobbering the builtin Function constructor. ^_^ Rename FunctionArg to FuncArg for symmetry.  These can be named back when I get this code modularized, I suppose.
Add fillType to all rules, simplify more of the things that branch based on it.
Abstract all the primitive consumption into a single consumeAPrimitive() function.
Just treat declarations like any other rule.
Push the EOF handling back down into the individual rules, so I can eagerly discard unfinished style rules and declarations when I hit an unexpected EOF.
Updated tests and examples to properly use fillType='declaration'