Add code for error handling for --extract_license.

Handling includes:
 - invalid api_username
 - invalid api_key
 - invalid api_url
 - no internet connection

All the above will skip the LICENSE generation, but it'll not skip the ABOUT generation.