add minimal form implementaiton
fix serious bug with template cloning
use standard agile toolkit debug method for dsql().

also prevent from recursively erroring when used in error exceptions
revert previous fix, because templates work fine now
compatibility for new CSS form layouts
some sanity validation
recccompiled form