Merge pull request #397 from garyb/master

Add missing Ord instances, don't export `impl` stuff from Prelude
replace JS code generated by desugarer for typeclasses with PS code (2)
Merge remote-tracking branch 'osa1/desugaringpatch'