model.BoundingBox: width() and height() were added; some code formatting
recognition: some algo fixes (for rectangles and fitsToTrack) and a bit of refactoring