use_api accepts Procs

We had a use case where we needed to use procs to dynamically set the api for uses_api based on model extensions. We added the code and test to do that. If you have a better idea we are completely open to suggestions.