model loader: fix for #1084: set parameters as hidden before we marry getters and setters

Otherwise the setter "finds" the parameter rather than the getter and things break
Test for #1084: Incremental build broken with attributes taken as parameters
model loader test: dono't compare Value with ValueParameter