fix snapshot.forEach() in MockFirebase, clean up old mock file
Fixes test unit for $getIndex() to troubleshoot #262 and #276
Fixes #276 and fixes #262, making $getIndex() work in conjunction with 'loaded' event, also improves several edge cases for primitives and child event notifications.