ess-version: recognize elpa and git revisions

git-svn-id: https://svn.r-project.org/ESS/trunk@5743 0bbaf3bd-34e0-0310-bf65-c717079852d4