Add parse tree writer round trip testing to feature tests.

This will expose bugs in the ParseTreeWriter for all language
features encountered in feature tests.

Fixes bug for ParseTreeWriter and ArrayComprehension.

Refactors testfeatures.js.

BUG=

Review URL: https://codereview.appspot.com/7832045