script for keeping tern repository updated by using metadataurl property...

... ref https://github.com/marijnh/tern/issues/424

metadataurl property is discussed in #191