JavaScript simple in-memory indexed Collection, loosely inspired by mongodb's collections