refactorings around the visibility flags feature.
Merge branch 'master' of github.com:appleseedhq/appleseed