blueprint_setup.add_url_rule won't be called when add resource to an Api object with blueprint initialized

Fix the problem that blueprint_setup.add_url_rule won't be called when an flask.ext.restful.Api object initialized with a Blueprint object and the BlueprintState object was ready.