Smoketest for core layout functionality and constantlayout. Also fixes an issue with the ignorelayout attribute not being coerced to a boolean. Also fixes an issue where the locked attribute on a layoutwas not being set correctly from the markup.