Moved clojure code out of vimscript

Moving clojure code into a lib which must be included in user's dependencies in order for plugin to work.