Add test for AccountsMeta and event firing

Related changes:
* extracted TestModelObserver into separate class, shared between tests
* removed const from getAccountsMeta() return value: not needed since
there are no public setters in AccountsMeta anyways. It was causing
issues to attach the TestModelObserver since adding an event delegate is
technically modifying the object.
* now odb-related code uses setter methods in Account class