Moved idp.xml into a template file

The file idp.xml has been changed into a template file and moved to a
templates folder to allow group_vars variables to be inserted into the
file.
Changed task from copy to template module

As idp.xml is now a template, the corresponding task that was
responsible for copying the file to the right place has now been changed
to use the template module.