A Cloud-based Framework for Risk-aware Intelligent Navigation in Urban Environments