ClassDeclaration should bind the name inside the body

ClassDeclaration should bind the name inside the class body.

Fixes #567