Manage optional parameter for completion
https://github.com/angelozerr/tern.java/issues/17