One ship and two shore establishments of the British Royal Navy have been named HMS Appledore, after the village in Devon.