Look for older Dojo version files in build system.

Enables building Dojo 1.6 and earlier. Fixes #17283.

Thanks @mahays0 for the initial patch.
Fix wrong path caused by not having a brain. Refs #17283.
Fix CDN builds for old Dojo. Refs #17283.
Fix builds of even older Dojos. Refs #17283.
Update version on branch after a release to pre-release version.

Refs #17176.
Updating source version to 1.10.0-pre
Fix $Rev$ updating in build script. Refs #17176.
Set revision to nothing for dev version instead of last commit.

Since it is not updated on every commit it makes no sense to
have it there.

Refs #17176.
Add missing build/version.js to versioned files.

Refs #17176.
Updating source version to 1.10.0-pre