MDL-39511 corusecat: added missing include for tests
Converted to isset where known to never be null
Improved current_language performance
Improved support method performance in cache stores
Improved hash_key performance by flagging debugging
Converter to isset where we can be sure its safe
html_writer: Improved performance when rendering attributes
cache: improved persist checking performance