Initial version of VERSION.txt action.

This includes refactoring retrieving the SHA to a shared function in the abstract Action class.