Restore non-const ClassAd methods to avoid changing SO version.

Adding const to a class method changes its signature. As a result,
programs linked against an older version of the library can't run using
the new version.