Merge pull request #21 from dm3/master

Add support for top-level $and queries
Fix Issue #22 (https://github.com/foursquare/fongo/issues/22)
FongoDBCollection.idsIn(DBObject) throws ClassCastException
Check if it's a List or Object array before casting
Merge pull request #23 from grahamar/master

Fix for Issue #22