Make heap usage configurable.
Fix a bunch of test TODOs.

- Added a bunch of tests.
- Removed some TODOs for stuff that's already done.
- Made list literals handle newlines better.
Do a bit more documentation.
Subscript setters.