Added settings for mongo retry / timeout to combat observed issues in production.

Based on: https://support.mongolab.com/entries/23009358-handling-dropped-connections-on-windows-azure
Added mongodb dep