RA-531: CoreApps: Create "MostRecentEncounter" app
added template for app
fixed display problems when multiple apps on page at same time
support for specifying ui resource definition