Fix Bug #3126. lang::message::lookup was not adhering to a given default value but just returned the message key missing string, even if there was a default
1) Fix image handling. Accidentally commented out by a previouscommit!2) Fix storage type handling. DO NOT SET storage type to empty stringwhich is always invalid. I have no idea why that was changed. There isno reason to check the indbp parameter twice.
Removed Malte's "fix" to content-folder::new, and emmanuelle's fix to thatfix (which was fine), reverting to the 5.3 version because it wasn't brokenin the first place, and malte's attempt removed transaction protectionaround the folder inserts (bad!) in order to avoid a pg-only deadlock inPG 8.1 which doesn't happen in PG 8.2 or better.
Removed Malte's "fix" to content-folder new, and emmanuelle's fix to that fix(which was fine), by rolling back to the 5.3 version (which wasn't broken inthe first place, PG 8.1 was)
Added a new default_layout parameter to get rid of the hard-coded sloanlayouts used when a new page is added. Default value is the old hard-wiredone, but now our standard install.xml can set it to zen, and when someonehas time site theme switching can change it, too.