unit tests for static functions + packages restructuring

-Tried to do my best to adapt the module for future unit tests.
-Restructured the module into packages (not sure for this one, tell me if i'm wrong) following this doc : http://docs.python.org/3/tutorial/modules.html#packages
-README renaming took from this: http://guide.python-distribute.org/creation.html