Add HW bounding Box support to d3d backend
Added support test for bbox and some naming corrections
small spacing fixes
use SAFE_RELEASE to make code cleaner
spaces cleanup
Merge pull request #1657 from Tinob/master

Add HW bounding Box support to d3d backend