Adding sql for registration_views, entity class `RegistrationViewEntity` and service class `RegistrationViewService`
Adding functional tests for `RegistrationViewResourceFunctionalTest`s
First round of PR fixes
Adding functional tests for createRegistrationView and getRegistrationViews.
 - Fixing a bug uncovered by one of them, too :)