fixed compilation in debug mode, plus minor code tweaks.
Merge branch 'master' of github.com:appleseedhq/appleseed
tweaked travis build: changed git tag to travis-build, enabled verbose mode for unit tests, fixed a typo.