Exit with code 3 when nikola fails before task is run.

Using exit code 3 similar to what do-it uses.  Fixes #1455.