Use one template for EL5

Places conditional logic in template in order to not duplicate the file.
Add spec tests for Xen on EL5