Abstraction of generic AjaxRating::App class and simplicfication of app ...

...classes.

Consolidation of duplicate app code into a base app class.