fixed globals issues for pivy module
fixed port listing bug for pivy module
updated copyright
Merge pull request #28 from fireeye/master

fixed globals issues for pivy module