Merge changes I316c13e3,I4d99744d,Id9614b72,I7c98a0b7

* changes:
  init: enable error reporting of builtin functions
  init: log Service failures via Result<T>
  init: pass errors from one Result<T> to another better
  init: cleanup environment handling