Properly assign template target class to rosetta stone statements and expose class to clients
Currently, the target class of a rosetta stone template is not properly assigned to a rosetta stone statement. This MR fixes that. It also adds the (target) class id to the rosetta stone statement representation for clients.