[TIMOB-15943] Rebuilt TiErrorController

Thanks to @dbankier for the initial implementation shown here #5106
Details in [Jira Ticket](https://jira.appcelerator.org/browse/TIMOB-15943)