Improved the "as" feature for the query parameter

It was possible to make a query like that : 
> query("collectionView",
> {setBackgroundColor:"redColor",:as=>"UIColor"}) 

but it was not possible use more complex objects like NSIndexPath for example.
So this fix add the ability to make queries that looks like :

> query("collectionView",
> [{scrollToItemAtIndexPath:[{:indexPathForItem=>10},{:inSection=>1}],:as"NSIndexPath"}, 
> {atScrollPosition:0},{animated:1}])