At least 39 have been killed and nearly 100 others wounded in ongoing battles between rival militias in Libyan capital.