construct version number from branch name better

The get-version-from-git script makes a debian version number from
information it gets from git.  Part of this is replacing any characters
that are invalid in version numbers with the character "-", but due to a
bug it used to just replace the *first* invalid character.  This commit
fixes it to replace *all* invalid characters.
Merge branch 'v2.5_branch'
Merge branch 'master' into gmoccapy_install_fix
gmoccapy_0_9_7_3_1 - new button order and layout changes and some bug fixes

ver 0.9.7.3.1
- removed some print/debug lines
- new order of the button in Auto Mode
  (requested from svenakela)
- corrected some translation errors
- changed the order of the jog button and the DRO,
  now when jogging on a touch screen, the
  right hand will not cover the DRO.
  Better handling?!
- deleted the button reload from auto to get space
  for fullsize_preview, so the user can switch to
  fullsize preview, while the program runs.
- errased the close button in botton button list
  edit, because the back button does the same
- corrected the hardware button behavior, was
  needed because of the new order and
  the reason that not "clicked" is emitted,
  but "pressed"
- button edit offsets now shows automaticaly
  the offset page
- the buttons for fullsize preview and
  edit offsets getting yellow when active
- pressing the button new in edit mode will make
  a new file in /tmp with the content from
  [RS274NGC] "RS274NGC_STARTUP_CODE" follod
  by 3 linefeed and an M2

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
Merge branch 'master' into gmoccapy_install_fix
make -fix line that installs Gscreenn skins -maybe