MDL-45394 core_rating Refactor to implement as alternative UI type

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>
MDL-45394 mod_forum: Implement toggle button rating UI

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>
MDL-45394 mod_data: Implement toggle button rating UI

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>
MDL-45394 mod_glossary: Implement toggle button rating UI

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>