Add version resource (close gh-2).