clean up openwrt version handling, use a separate script that is executed at the beginning of the build process, fix revision checking with git SVN-Revision: 9723