add output flag to nbconvert

fixes 3799
remove UsageError
Merge pull request #3822 from Carreau/outputflag

add output flag to nbconvert