Add lein support; update perf to use criterium.