portal-update: log errors
portal-update: retries and delay options
Merge pull request #330 from wardi/master

portal-update: add error logging and retries + delay options
use datasets_per_page for package_search default
Merge pull request #331 from wardi/master

use datasets_per_page for package_search default