Added getHeight and getWidth

Should they be parseHeight and parseWidth?
Added compareMediaQueries and calculateMediaQueryWeight

Needed for sorting
MediaRules are now sorted for proper CSS cascading