Bug fixes for CLI/CGI differences. Refactored update_links and update_tvdb_data into links() and tvdb_data(). Changed cronjobs back to cURL calls so they use CGI because CLI calls dont work that well.