Update ok-cablereport-v3.php

Updated to version 3.1:
Direct SQL query replaced by Racktables API calls
Device names and ports are now clickable links to relevant objects
Minor changes to table formatting and pagination.