rename top to term

Conflicts:
	kore/src/main/scala/org/kframework/Collection.scala