MULE-7973: db:parameterized-query don't accepts queries from a property placeholder

Fixing template parsing
Adding missing assertions in tests
Merge pull request #1087 from mulesoft/MULE-7973

MULE-7973: db:parameterized-query don't accepts queries from a property ...