added edit link to certificate, remove embed link when archived - fixes #379
simplified the meaning of the #continue check in surveyor controller
fixed warning notices in redirect_to (doesn't support :warning)