Added "query" option that lets you pass an optional query when retrieving collection

– if the query comes in as a string or an object, it will handle it
appropriately either way (uses eval(), be careful)