absolute pathed layouts bug and fix

Hi there !

I just submitted a ticket with a failing test and a patch on
lighthouse: http://bit.ly/jq65d

The problem happens if you have an absolute path *that does not
contain the word "layouts"*: it is prepended with "layouts/" before
moving on to find_template and therefore is never found.