(PUP-2101) resource parser: add the resource name on the validation erro...

https://tickets.puppetlabs.com/browse/PUP-2101