Improve error for custom resource

Improve error for case when custom template resource specified via http
or https url. Same behaviour is presented for python-heatclent.

Change-Id: I05c6bad3e6a52ca041fd8a51849ff4e6af23baed
Closes-Bug: #1376656
Merge "Improve error for custom resource"