update(layout): Changes on 0.10

Hello, since I am new with Sails, I read all the comments and I realized this one is not update for 0.10.

Also I fixed a typo :)
Merge pull request #2 from Foxandxss/patch-1

update(layout): Changes on 0.10