Bug 960509, Bug 960674: Refactor rhc-list-port

Use associative arrays to prune duplicate binding entries. Support a
new '--exclude-remote' argument which skips scanning the environment for
remote bindings (such as databases).
Merge pull request #2398 from ironcladlou/bz/960509

Merged by openshift-bot