packaging using distutils

also added creative commons license
Fixes to better conform with python packaging.

Updated setup.py metadata.
Move tests to a new location and updated import statements.
Move main.py to "bin" folder.
draft of the plugin-system
adopt package changes from master branch
Merge branch 'plugin_system' of github.com:jclopes/hive into plugin_system