Fixes interpolation on SafeBuffer

Interpolation was untested and did not work with hash arguments.
Adds tests for both array and hash arguments, and adds hash support.
Extracts lambda to private
Fixes assertion style
Adds extra interpolation tests
Renames private escaping method.