Fix bug/typo in projection.getTransform

Destination projection is currently using the source projection code
Merge pull request #231 from probins/projfix

Fix bug/typo in projection.getTransform
Space for linter
Unused var
Smoke test for ol.Projection.getTransformFromCodes