Intern strings so they can be compared by address and stored without
wasting space.
This library uses the macros in the obj_pool.h and trp.h to create a
memory pool for strings and expose an API for handling them.
[rr: added API docs]
[jn: with some API simplifications, new documentation and tests]
Signed-off-by: David Barr <redacted> Signed-off-by: Ramkumar Ramachandra <redacted> Signed-off-by: Jonathan Nieder <redacted> Signed-off-by: Junio C Hamano <redacted>