Update src/elements/layout/element_template.erl

Moved the template bindings orddict creation to 
an earlier point in the template rendering pipeline;
thus converting the bindings just once

This is not tested yet!