change the way issue3596.js calls Css.hasClass
change Object.extend to also copy getters and setters
Merge remote-tracking branch 'origin/lib_rewrite' into lib_rewrite