ndn-traffic-generator: Correcting exit status code and some changes
to conform to NFD coding style

Change-Id: Ia8dc0b6a746e0d6f515523ba6bc79ef5e10e343f
refs: #1143