Add new jobs for sahara-image-elements

* build both hdp and spark images;
* add test for hdp 1.3.2 images;
* script refactoring;
* hdp 2 job not voting, due to temporary problems with building;

Change-Id: Iea4c5e1a564fee449e8311309f22498e9eb64e7e
Merge "Add new jobs for sahara-image-elements"