Initial attempt to be a proper python module and more testing.

  - refactoring, restructuring code base for OSS release.
  - introduced a force_deploy configuration option.

Change-Id: I5253c9a601c063d6c763760804d2f45819005819
pre-alpha comment