ring-buffer make-foreign-ring-buffer refactored

calls make-ring-buffer passing in type-context as parameter
ring-buffer new make-ring-buffer uses array type context, old one renamed make-ring-buffer-internal

new type-context class using array
test-buffer and friends reanmed to test-foreign-buffer