Move arena_copy_buf method to util.cc

Change-Id: I2a80750038ce110a41f6903295f0655ae27468dc
Remove duplicate code to get error string

Change-Id: I6369a14895d71fed61e2a45fe8d9aa833374e631
Add native view group compacter

Change-Id: I8f8f43c6fd7afb63db45d0b13eb7110ec8055cd7
Fix view comparater for range lookups

Change-Id: I963dcab73da18cc2d4eb25e393581e8341452cf4