Fixed --clear_datastore flag in dev_appserver and devappserver2.

Now the mongodb database gets cleared.