As the Bayeux Tapestry comes to the British Museum, scientists reveal how chemistry and imaging technology are unlocking its hidden history