Fix bounding box feature

Now you can use minX/minY/maxX/maxY and bounding boxes for cool
collision detection.
Fix math and vector problem and fix json read data of bounding box
attachements data.

Bounding boxes debug draw you can see in this video: http://www.youtube.com/watch?v=DF_gmo4KgQc