Add an opt2cpp Python script

A very ugly script that should work as a drop in replacement for the
opt2cpp XSLT.