mongodb 2.6+ config file use yaml format & fix warning

fix below warning message when start:
> mongodb WARNING: --rest is specified without --httpinterface