cli: Return exit status 1 on error.
Add ability to exclude streams from the sorting used by best/worst.

Also the following API/CLI changes:

API: plugin.get_streams(): Add sorting_excludes parameter and
     rename the priorities parameter to stream_types.

CLI: Add --stream-sorting-excludes and add --stream-types synonym
     to the --stream-priority parameter.