Optimization of stochastic uncertain systems: large deviations and robustness for partially observable diffusions