Cherry pick PRs for HasByName, etc. and fix GeyByAddress error type
This release is the same as v0.0.4, but GitHub doesn't seem to recognize it. So trying again.
Rebase to the latest master branch of gnolang/gno. Cherry pick the commits in PRs gnolang#1313 and gnolang#1316.