JBIDE-17748 update to newer tern 0.4, and newer feature ids >> 4.40.x

I can but I like to leave documentation in the source for at least one iteration so we have tea leaves for later. Does it hurt anything?