Write nrepl port into “”target/repl-port

Allows nrepl/cider port discovery with {:nrepl {:start? true}}
Write nrepl port to ".nrepl-port", use doto
Merge pull request #98 from viesti/master

Write nrepl port into target/repl-port