fixed problems with colon character

This pull should fixes problems with the colon character when used on pseudo-classes and other new CSS3 cases.