add backend stuff for class rewriting
make the core/messages rewrite added at runtime, conditional on the flash messages fix option
update changelog