added checking for class as distinguishing factor between a view controller instance and block.
added checking for class as distinguishing factor between a view controller instance and block.

niuxinghua/HHRouter,yangjie6020/HHRouter,melovegithub/HHRouter,scujccit/HHRouter,Huohua/HHRouter