add support for transient paths

This is based on coalesce-writes, here's the comparison with that branch:

https://github.com/mykmelez/j2me.js/compare/mykmelez:coalesce-writes...mykmelez:transient-paths