generate media/revision.txt for dev server
clean out non-dev-server code
Merge pull request #2235 from groovecoder/dev-revision-txt

generate media/revision.txt for dev server