add the aggregate function

This closes #223
rewrite the repl script

also introduce the new namespaces for standalone REPL (in uberjar), and
namespace for execution from 'lein repl'.

Moved swingrepl to uberjar dependencies, using the reply instead of
jline (also only for uberjar).

This fixes #215