Optional colons in media queries

Intrigued by #989, I decided to whip together a solution. Let me know if the logic shouldn't exist in the lexer.