Add matviews and correct models for new domains

Add materialized views for visit observation, person observation, and
person condition domains. Correct the use of the '_id' suffix on field
names on the new models depending on whether they are defined as
foreignkeys or not.

Signed-off-by: Aaron Browne <aaron0browne@gmail.com>