Add script for generating register definitions

The script uses data from the data sheet.
Move start_openocd script into util