Updated Layout to render nests correctly
 - the after nest was getting elft out of the containing div
 - also converted to camel case
 - and made some private vars protected for access and testing
Added full test coverage for application layout class