Update for acorn v4. Also works with v2 and v3
Update to work with acorn v4, if present. Note that async and await are fully parsed by acorn v4. The use cases for the plugin are:
- With acorn v4, to use the compiler options which are enable specific parsing modes
- When the installed version of acorn is unknown (for example if passed from another tool such as webpack)