Fix wrong treatment of biblatexdata

When found,  biblatexdata should be removed from item.extra and
the rest of item.extra written out if there is anything. This was not
done correctly before. Also remove for each.