Tweaks to import/export handling

Per continued discussion on #1157:

* Support `export class` & `export default class`
* Don't expect semicolons after block function and class declarations
* Use ES6 warning instead of JS 1.7