Merge pull request #6146 from LaurentGoderre/convert-post-build

Converted the post build scripts to grunt/node
Footnotes: Adjusted SCSS to accommodate lists/tables within footnotes.
Fixes #6157.
Details/summary polyfill: Set closed details visibility to hidden to make text nodes invisible (although still take up space)
Updated files for the v4.0.7 maintenance release
Updated the build version to v4.0.8-development
Merge pull request #6179 from EricDunsworth/v4.0-footnotes-scss-lists-tables

Footnotes: Adjusted SCSS to accommodate lists/tables within footnotes.
Calendar of events: wb-updated event now triggered on wb-calevt element.
Merge pull request #6183 from pjackson28/fixcalevtupdated

Calendar of events: wb-updated event now triggered on wb-calevt element.
Merge pull request #6172 from pjackson28/fixnesteddetails

Details/summary polyfill: Set closed details visibility to hidden to make text nodes invisible (although still take up space)