Compatibility fixes for CentOS6.

* Add mongodb user and group.
* Add directory for logs.