Aligned with 0.9.5 beta
Added test for ruduce with workaround of bug: https://typescript.codeplex.com/workitem/1960
Merge pull request #1390 from Igorbek/master

ix.js: aligned with