fix selection formatting; fix unicode libpath on windows for py2k

Also take cares of preceding indentation while formatting selection

Refers: jdc0589/JsFormat#49
Refers: jdc0589/JsFormat#8
Merge pull request #50 from timonwong/master

Fix selection formatting; Fix unicode libpath on windows for py2k