Added new gamemode hook SetupAttributes, new schema/plugin hook RegisterAttributes, new config option nut.config.baseAttributes, so that schemas can easily override nutscripts default attributes without the need to edit nutscript itself. Updated schema hook BlockPlugins so that it now passes the directory the plugin is loading from as the second argument, to allow schemas to block only plugins from certain directories yet load ones of the same name from their own.
Changed hook system so it addons may use it. Also added them to hook files as suggested by Alex Grist.