Fix layout subdir

There were some occasions that when a specific layout was inside a subdir (not the same of the view's) the module was unable to find it. I've also fixed one test that was failing and added another for the fix I've implemented.

Can you please do another publish to npm? Maybe version 0.1.1?

If you find anything that I should change, tell me about it. No sweat