Revert "Fixed #3161 Unpublished products should not be found in the Theme API"

This reverts commit 1b2c3751c49fd927ef8afdb452cb5af906023f43.
Fixed #3163 Trigger a warning (instead of fatal) for invalidly nested <td> tags
Code formatting cleanup; tightened up interface access
Help keep active gateway setting cleaner
Merge branch 'issue/3163'