Implemented Incoming attacks on Incoming page (#54)

The IP addresses triggering the modals now show a magnifying glass on hover, in order to prevent confusion. The table rows are now clickable (well, hoverable), and have different behaviour than the IP addresses.
This commit also has some initial JS cleanup, although that is still a huge TODO.