getAuraFrameworkNonce() is called a lot. Ensure that we aren't computing the final hash between js and resources unless there are changes.

@bug W-1934900@
Merging origin/bob/master-pending/optimize-uid into master