Backported:

Performance improvement for locking.
Support for boolean attributes.
Ability to remove media/type attributes when using styleSheetLinkTag and JavaScriptIncludeTag.
Setting to convert, for example, dataDomCache or data_dom_cache (default) argument names to data-dom-cache attribute names.