Improve unhandled error handling in prod mode

Working version now.
In case of unhandled error in Prod mode beego returns 200 status code which is not correct. It's better to return 500 error code in case of unhandled exception. It's also possible to override error 500 and have custom UI for that.