At least 12 people are killed in a suicide bomb attack on Libya's election commission, since claimed by Islamic State.