CEF format output

Added the option to output a CEF formatted file (as described in http://mita-tac.wikispaces.com/file/view/CEF+White+Paper+071709.pdf).
Please give credit for the updates to Darren Humphries. Thanks