Main code rev. 1718

Added better searching for providers, ala Licenses. New clone
functionality for providers and licenses.