Fix Selenium tests to run with CKAN 2.1. Also some longer implicit waiting to hopefully get rid of occasional failing.