[ticket/11098] Add mark/unmark all options to remember me keys

https://tracker.phpbb.com/browse/PHPBB3-11098

This also involved a bit of cleanup for consistency and valid markup.
While at it, made a tiny HTML valid markup fix to the notifications
page as well.