fixed setContentTypeFromView never being reached.
converted .travis.yml to lf line endings.
Merge pull request #92 from oodgaard/setbyviewfix

fixed setContentTypeFromView never being reached.