Add srcloc to snippet parse error message

(cherry picked from commit ebb9b9dd451cfcf3966336e285a1c90172a3bc69)
Bump version to 0.5.0.10
Release notes for 0.5.0.10

(cherry picked from commit 1aaeb280b5d4e34507a1bddd823e437d70abb122)