[Do not merge. under discussion] node global installation fix

Discussion is going in #131 
PR updated. 

* now it uses python script to check cario availability. 
* OSX check caused a problem. Commented out.
* Do we need curl source based installation? rather than install canvas via npm?