Removed the now-unused bs_malloc_output() function
Renamed bs_alloc.h to bs_internal.h

This header file now contains more than just allocation functions.
Fixed tests - should have deleted with commit ec15eeb