Added method "transform" to canvas 2d context implementation

This patch should be integrated after https://github.com/gameclosure/native-core/pull/1 was pulled into native-core. We also need to update to the latest native-core then