Make sure that projection is an ol.proj.Projection instance
Merge pull request #2322 from ahocevar/view-projection

Make sure that projection is an ol.proj.Projection instance