Add a primitive --command (-e) option like scrot has.

Commands gets executed in a shell using subprocess.call([command], shell=True)

NO security considerations were done.