Hide related links on small screens

This pull request makes the module_actions JavaScript more reusable by renaming it to popover and using it for the related pages links.

It then refactors all of our massive Sass so that popovers share the same mixins, which I'm really pleased with.

Finishes [#62545960].