Updated Rex

updated characterSetEscape and regexEscape to not need capturaing groups
corrected bug in Rex.prototype.chars where the negative char group was
used
added concept of levels to Rex so that `end` will cause errors if groups
are left open.