BSDF sample refactor #4

- Fixed previous PR comments.
- Renamed BSDFSample::get_value() to value().
- BSDFSample now takes a ShadingPoint and modifies the shading basis automatically.
- Fix for an unrelated compiler error in appleseed.studio.

Out of curiosity, why is this suddenly necessary?