Fix closure to add "$this" binding
Add fieldProperties & setterProperties to closures declaration

Signed-off-by: Kevin Nguyen <k.nguyen@thecodingmachine.com>