Changing Registrations to not use generics

This is a reaction to this patch in yangtools:
https://git.opendaylight.org/gerrit/#/c/9362/

Change-Id: I69e8d93c8d058cbe13c7aa68ad66640f3367c514
Signed-off-by: Colin Dixon <colin@colindixon.com>