implemented visibility flags for assembly instances.
minor code tweaks.
Merge branch 'master' of github.com:appleseedhq/appleseed
Fixed file license