Bugfix in mongo initialization code - Removed dependency on unused gems and fixed #! tag.

Added 'yum update' step to vagrant file so it worls with latest updates.