refactor projects/ipa_ci.py for readability and modularity

Signed-off-by: Gowrishankar Rajaiyan <gsr@redhat.com>