Allow pixel ratios in media queries

Repackaging https://github.com/nzakas/parser-lib/pull/23 because of conflicts.
I've come across this issue in my sheets and @nzakas indicated that #23 had conflicts.
All code from @moddular