Relax $ expression parsing

To better match Genshi's handling of $ expressions, relax the expression
parser such that $ followed by "invalid" characters will be rendered
literally.  Valid characters consist of anything that can begin a variable
or braced expression ({, _, and a-z).
Merge pull request #5 from drocco-007/master

Relax $ expression parsing