Updated Layout to new JS Design pattern

Updated Layout component to use new JS design pattern as defined at:
https://github.com/jasonmayes/wsk-component-design-pattern