Mobile fully automatic rail welding robot using flash-butt welding technology, also suitable for performing closure welds