Yep, it seems to be a regression. Apparently not related to templates but more to sqlite database creation and data insertion. Filed under bug 467775. I have narrowed it down to a test XPI that works with FF304 and fails with Shiretoko.