Fix more problems with optimizer
Add VM test harness and some token tests

Refactor handlers into vm package
Remove implemented ideas from ideas.txt
Add smali tests for VM test harness