Add "translateModule" command to the REPL.
Fix bug when translating export declarations which contain binding patterns.