[node plugin] Improve handling of module.exports
[node plugin] Improve handling of module.exports

Issue #225

pombredanne/tern,OliverJAsh/tern,othree/tern,rustemferreira/tern,mcanthony/tern,ternjs/tern,cdosborn/tern,emacsmirror/tern,neoclide/tern,ternjs/tern,ypresto/tern,othree/tern,adrianton3/tern,inafact/tern,angelozerr/tern,talyian/tern,emacsmirror/tern,albertinad/tern,rustemferreira/tern,emacsmirror/tern,cloud9ide/tern,cdosborn/tern,cdosborn/tern,Icenium/tern,fileability/tern,dorellang/tern,eranif/tern,albertinad/tern,talyian/tern,cloud9ide/tern,MarcelGerber/tern,mcanthony/tern,adrianton3/tern,messfairy/tern,jgiles/tern,eranif/tern,angelozerr/tern,anandthakker/tern,mcanthony/tern,MarcelGerber/tern,marijnh/tern,neoclide/tern,anandthakker/tern,rustemferreira/tern,albertinad/tern,jgiles/tern,messfairy/tern,emallson/tern,jgiles/tern,fileability/tern,jason0x43/tern,anandthakker/tern,ternjs/tern,eranif/tern,kentdoppelganger/tern,Icenium/tern,dorellang/tern,emallson/tern,messfairy/tern,emallson/tern,marijnh/tern,fileability/tern,Icenium/tern,vegansk/tern,sqs/tern,neoclide/tern,MarcelGerber/tern,marijnh/tern,talyian/tern,adrianton3/tern,kylehg/tern,othree/tern,dorellang/tern