fix upnp on non-default port

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
Merge pull request #540 from benemorius/upnp

fix upnp on non-default port
Remove duplicate test file.
Testfile is no longer executable.
Rewrite tests as unittests.
Make pyelliptic imports consistent with rest of code.
Factor contact creation.
Abstract contact count.
Drop empty tearDown.
Rewrite ghost contact exclusion check in unit test format.
Never import classes, only modules.
Move bad test to end. Will check later.
Thoroughly test GetContact
Rewrite and expand test for contact exclusion.
Refactor simple test for getContacts.
Bring constant_count close to bucket size
Abstract ghost contact.
Test KBucket init.
Test getContact when nonexistent contact is requested.
Test addContact on full bucket.