Accessing Random variables and named deterministics by name through Model objects

Random variables and named deterministics (named with the `named(var, name)` function) are now can be accessed by `model.variable_name or model['variable_name']`.