[ticket/11947] Notification link fixes

Allow clicking child elements of link that toggles notification popup. Also fixed tabulation in that code.
http://tracker.phpbb.com/browse/PHPBB3-11947