template async loading error handler and global base path for relative paths in templates

1) You can handle template loading fail during remoute async loading.
2) There was a difference between twig.js and Twig PHP. When you use root template path in PHP you can include other templates use relative to the root path.