Export default declarations should introduce a binding

`export default class C {}` should introduce a binding for C in
the current scope.

Fixes #1062
Unfortunately I guess this means that `export default function (x) {}` will give an error like "function declaration expected" whereas the function expression form will be legal.