ASGARD-1111 - Update Frigga to handle new appversion format for git hashes

The position of the CL and build number will be reversed for stash-based builds.

Also updated to the latest gradle template.