WikiLeaks publisher Julian Assange has filed a lawsuit against Ecuador, accusing the government of violating his fundamental rights and freedoms.