Create template iso path needs to check

v2-v3 Fix bug "alert undefined message in url validation"
v1-v2 Rebase the patch and resend
check the path of the template iso path
fix bug:https://github.com/kimchi-project/kimchi/issues/62
1 url path: http/https/ftp/ftps/tftp
sample:
  1 http://9.123.43.22/iso1
  2 9.123.43.22/iso1
  3 9.123.43.22/iso1.iso
  4 www.iso.com/iso1

2 path: valid linux file path
  1 /home/lisa/Download/iso1.iso

notes: This calibration method only verify the correctness of the URL,
and will not check about the file exists or not.

Signed-off-by: zhoumeina <zhoumeina@oc5550100378.ibm.com>

Reviewed-by: Adam Litke <agl@linux.vnet.ibm.com>