root path replacement bug in handlebar template_path fixed

The bug occur when 'template_path' method did to replace the content of root variable with blank and  emberj resulted template name contains the address too, so 'Ember.TEMPLATES'  will have the wrong template name.

NOTE: This bug happens if you use emberjs inside a directoy like 'app/assets/javascript/myengine/'