Nearly 300 kidnapped Nigerian schoolchildren have been released, more than two weeks after the children were seized from their school in the northwestern state of Kaduna and marched into the forests.