Use pkg_resources to load registered commands

Closes #32
Fix tests after switching to pkg_resources
Add test for upload functionality
Merge pull request #72 from sigmavirus24/bug/32

Use pkg_resources to load registered commands