Added extend() utility function (attach by reference or deep copy) to main system
Added extend() utility function (attach by reference or deep copy) to main system

credwards27/jsnake,credwards27/jsnake