Add error codes

dlvideos.py now returns an error code, which is the sum of the
following values:
1: YouTube gave an error or Ctrl-C was pressed
2: any other exception was thrown
4: done.json was unable to be written

Thus an error code of 0 means success.