Detect last block in every row

The main purpose of this code is to pass $instance['last'] = true to the block API.  I have only added the aq_last class for demonstration purposes only.

This would allow developers more flexibility in there css styling and more control in the block API.

In my own case this is going to helps me integrate the bootstrap framework.

I am no expert programmer myself so you my feel the code can be written more efficiently.  This is just a best attempt.