Fix #12, #16, #18

Hi,
thanks for writing cljs-noderepl. I use it both from cider and from tests to invoke CLJS and cross-test CLJ server and CLJS code.

Today I did some yak-shaving and found root-causes for issues which were blocking my work. Please review the patches and prepare new release.

Thank you, 
Dan