Export default declarations should introduce a binding

`export default class C {}` should introduce a binding for C in
the current scope.

Fixes #1062