convert TreeAgentSet to Scala
convert ArrayAgent to Scala

also remove unused removableAgents flag, and default the capacity to 0
(and fix add() to work on adding to a 0-capacity agentset)
update extensions for recent ArrayAgentSet changes