makedeb: Rewrite debianRulesFromSpec to return a tree, not create files directly

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makedeb: Split Debian rules functions into a separate module

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makedeb: Fix most pylint warnings in tree.py

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makedeb: Fix most pylint warnings in debianrules.py

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makedeb: Remove unused Tree class

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makedeb: Move control file processing into a module

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makedeb: Move specFromFile to rpmextra

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makedeb: Move changelog function into its own module

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makedeb: Move miscellaneous Debian packaging functions out into a module

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makedeb: Fix most pylint warnings in makedeb

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makedeb: Fix minor pylint warnings

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makedeb: Fix most pylint warnings in rpmextra

Signed-off-by: Euan Harris <euan.harris@citrix.com>