added tests for check_hpjd port options
---
Closes #1160 and #973
check_ifstatus: perfdata bug

Just turning attached patch of github issue #721 into a push request
---
Closes #1169 and #721.