ENYO-2193: fix for IE8 lack of support for Array.prototype.indexOf -> convert all instances to use enyo.indexOf, amongst other similar cleanup

Enyo-DCO-1.1-Signed-off-by: Cole Davis <cole.davis@lge.com>
Merge pull request #257 from clinuz/ENYO-2193

ENYO-2193: fix for IE8 lack of support for Array.prototype.indexOf

Reviewed-By: Ben Combee (ben.combee@lge.com)