Generic Arrays

Generic types now flow through array methods.
Removed definitions for indexOf, lastIndexOf, reduce & reduceRight as
lib.d.ts already defines them and sugar does not add anything.
Added tests for arrays.
Fixed encoding in tests.
Browser harness typescript definitions
Merge pull request #831 from scriby/master

Browser harness typescript definitions
Merge pull request #830 from duncanbrown/master

SugarJS: Generic Arrays