Fix IE8 compatibility of util.strict_oneof

Do not use indexOf for argument comparisons, because it is not
supported in IE<9. Instead uses simple list iteration.
Merge pull request #665 from mapbox/oneof-ie8

Fix IE8 compatibility of util.strict_oneof