Added support of operator '=='

Implemented method __eq__ for cfg.Opt.

Change-Id: Ia6a3d82d19b7d239ffc0b42a47e1ce7383f10564
Partial-Bug: 1262148