Have git inject the commit hash into GITHASH when archiving, we can amend version.sh to look for and use this for exported sources.
(cherry picked from commit 4a2a789e7dbb3302f158bfd607ac55b482f12ee2)
Add branch to GITHASH, approximating the string produced by git-describe
(cherry picked from commit d74248e6b3447c3a7e1deb0212cc69e664b89085)
Have version.sh check for version information in EXPORTED_VERSION
(formerly GITHASH).

This gives us usable version information for source which has been
exported from git with git archive.
(cherry picked from commit cc037a8804c3f260e33f5611272b192699927662)
Tidy up the branch string we get from using the %d placeholder
(cherry picked from commit 914e94b6c028cb312232350119777a41601edb00)
Alter sed pattern to match the format coming from github which is different to the version of git tested.
(cherry picked from commit dcab1e9d0f738b6eb263fcb979e381b00c642456)
Refs #7486. Enable gui component that was previously disabled
Refs #7486. Allow NITo's to be handled as NITa's.

Allows the channel scanner to work correctly in those
countries where you must specify the NetID.
Closes #7486. Fix the new NetID spinbox so it actually works correctly.