Fixed #1195: Add support for ES6 default parameters.

Also fixed #1208.

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Version 2.1.8