CORE-5602 Updates to Template AVU add/set endpoint.

Changed the PUT /data/:data-id/template-avus/:template-id endpoint to a POST endpoint, since it's always inserting or updating db entries and will update the modified_on timestamp at minimum.
Fixed logic for updating existing AVUs, or inserting new AVUs, and associating them with the given template and target data item.