Update app/models/MDb.php

Fix for allowing to connect to a replica set secondary
More fix for querying a secondary
index sizes are now in human readable format.
hack for mongo connection
Use built in get collection names in mongo
Authentication working now
fixed system pages issues when logged as admin (admin user must have permissions)
added workaround for db.eval issue from https://github.com/quibusus/rockmongo
added ISODate support
Fix messed up syncedTo dates
Merge commit '30226a8cb54abde5f828e9ae4a1302c550408c63' into fix-auth
Merge commit '8cdb899a819e1d0299d020c898bfa475ac93e443' into fix-auth
Merge commit 'f2c4183f8f8693690866bd65929e279d46697dc8' into fix-auth

Conflicts:
	app/models/MServer.php
	config.php
Merge commit 'c9eddb5d19bea733f9e43d6de26ccb9b75971589' into fix-auth
Merge commit '67f08e841ad245beb2610a5f2a23ce4c3ad41774' into fix-auth

Conflicts:
	app/controllers/server.php
bug fixes
added MongoId Metadata to row operations line
Fixed cookie vulnerability as reported in CVE-2013-5107
added color changes and confirm for modify and delete querys
replace deprecated preg_replace(//e) with preg_replace_callback
Added global setting (config.php) to control whether collection data preview is enabled or not
Added global setting (config.php) to control the collection preview pagesize
Merge branch 'master' of https://github.com/timapple/rockmongo