Rival image providers Getty and Shutterstock have agreed to merge, claiming the combined company will be worth around $3.7bn.