media query merging

this fixed https://github.com/leafo/scssphp/issues/119. i ported the query merging code from https://github.com/nex3/sass/blob/stable/lib/sass/media.rb. u can verify the test cases on http://sassmeister.com/