lazy load candidates after the user presses the '+ Add connections' link

fixes #257
rename refresh_candidates to refreshCandidates
fix error when only one page of results is available
fix handling for connection types that accept a single connection