/map/ would hang when a device was connected to itself because of a duplicate device id
Fix map bug caused by loopback cable
Fix a map bug where vis.js aborts because a device is inserted twice.
Need to add to $tmp_ids before checking the next device.
Merge branch 'master' of https://github.com/librenms/librenms
Auto-Deploy finished, Test PR at http://2545.ci.librenms.org or https://2545.ci.librenms.org