[Feature Request] Theme API: add hasTag helper

Added the hasTag core helper on the Theme API, to check if a given tag name is contained on the tag list.

1) This feature is not included on the planned features listing.
2) Currently there is no a good way to filter post "types" rather than using tags.