Physics: Update code formatting

Replaced details declaration with DECLARE_HIDDEN_DETAILS macros.
Fixed IRayResultCallback comments to be Doxygenish.