Allowing /component/<template_id> to work as a route

Allows /component/<template_id> to work - it searches through each queue's model directory attempting to match each model name against the <template_id>, in an attempt to work out which queue the requested template_id is in.