Compile selectors after evaluation

Making selector joining and searching faster
Compile media queries after evaluation

Making media query joining and searching faster