null-safe errors; global in subclasses; servicePath fix; nested files; version in library name

nit: Could we consider renaming this to object_constructor.mustache, for consistency?