Only record promises in the enterprise database when -r is supplied.

'-r' enables SHOWREPORTS
Merge pull request #1098 from awsiv/master

Only record promises in the enterprise database when -r is supplied.