Revert "Changed usage of customvariablestatus to customvariables table."

This reverts commit 9b91003d3b119acb180dfef5ed65175a33f897d7.

Refs #5702
Refs #5732