Fix typo

MSP-11103
metasploit-version install version.rb

MSP-11103

Generate the version.rb from a template so that it works for '-' and '_'
in gem name with arbitrary nesting.  Based on version.rb.tt template
from bundler used for `bundle gem`, but with the addition of semantic
version constants and methods expected by metasploit-version's shared
examples.