(PDB-220) Coerce resource-title to string

Previously, when a user defined a numeric-valued function in a puppet manifest
and submitted it to notify, the resource-title would remain numeric and
PuppetDB would throw exceptions while storing reports. Per the docs,
resource-title must be a string. This pull request fixes the issue by
explicitly coercing resource-title to string.