HPCC-8631 Changes based on code review

Changed AprShared and ApuShared from deriving SharedObject
to using it.

Signed-off-by: Philip Schwartz <philip.schwartz@lexisnexis.com>