Move base definition of 'at' function to SpareParts\ArrayLib namespcae (array.php), make "global" version of 'at' available via global-utils.php, and deprecate types.php.
src/template/inheritance.php: Require global-utils.php to be sure 'at' function is available.