add no-dev option to licenses command
Merge remote-tracking branch 'gimler/licenses_no_dev'
Remove object state from methods to simplify things, refs #3385