Add add method.

The add method inserts energy intervals by merging with any existing intervals.
GGti class now derives from GContainer.

Use GContainer as the base class and implement all required methods.
Update documentation.
Add unit test of GGti class.
Review public GGti interface.
Correct formula in documentation.