cider compatibility

Replaced nrepl-*-functions with the cider-*-equivalents where necessary.