make: allow setting RIOT_VERSION externally

also make the RIOT_VERSION variable available in buildtest
Merge pull request #1475 from LudwigOrtmann/riot-version

make: allow setting RIOT_VERSION externally