Merge pull request #37 from euanh/master

configure: Add basic tests for Git repository methods
configure: Add tests for prepare_srpm

Signed-off-by: Euan Harris <euan.harris@citrix.com>
configure: Add test for preprocess_spec

Signed-off-by: Euan Harris <euan.harris@citrix.com>
configure: Refactor main function to make testing easier

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