modelbuilder: error on protected classes and imports

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add error_visibility_protected.nit

Signed-off-by: Jean Privat <jean@pryen.org>