Removed usages of Array.forEach, Array.map & Array.indexOf

 This makes the module ES3 compliant, opening up its use in IE<9 (and other unsavoury browsers).

Here's a JSPerf of the changes, which result a great speedup in ES5 environments too: http://jsperf.com/observable-es5-vs-es3