Change 'tuple_t' to 'db_tuple_t' to avoid conflicts

This change is necessary to avoid conflicts other libraries that define
the type "tuple_t". In specific, a library that will be used for flash
storage defines the same type.