Refactor placeholder parser

This is to allow yield and await everywhere.

Also, restructure the code to reduce code size.
Change parser to disallow import in Script by default

It can temporarily be enabled by using

  --allow-non-standard-import-in-script