Fix authority record CSV import, fix #5488

Squashed commit of the following:

commit a6e49949e2a07c538bc0b5d343aedb570bc63924
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Wed Aug 21 18:59:49 2013 +0200

    Remove error section if it is one empty error

commit 4ddf794ae00b1d141ab71a28a93b06f21650d125
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Wed Aug 21 18:35:34 2013 +0200

    Allow index option in csv actor import

commit d8264e22117240daac8a482362afb8c65ca4bc13
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Wed Aug 21 18:23:12 2013 +0200

    Change switch case to match select value