agentsets.coffee --> patches.coffee, agents.coffee, and links.coffee

https://github.com/backspaces/agentscript/issues/18