Add Agent.build_clone.
Add a "Clone" button in agents#show.

- Make agents#new take an optional :id for creating a clone of an
  existing agent of the user.

- Delay the call for $(".select2").select2() so filled-in values of
  sources can take effect.
Merge pull request #275 from knu/agent-clone

Allow cloning an existing agent.