Add 'constructor' keyword and construct

The constructor syntax:
    constructor foo(x, y) { ... }
declares a method returning an object literal with the constructor body.