Add the (new in 4.2) ObjectScrips table

Also re-point templates (which now look up on Name).
Merge branch '4.2/schema-dot-for-objectscrips' into 4.2-trunk