Fix upstart script and log settings for mongod. Fix pid settings