add translate method for container to get transpiled code
Merge branch 'dev'

* dev:
  add translate method for container to get transpiled code
Fix up Container#transform and add a test.

This renames Container#translate to Container#transform and fixes a few
things.