Checkout Form Class Fix and Enhancement

Started using checkout form class functions in place of a couple of queries that were repeated in various places around the code and noticed a couple of things.

Enhancements
* Added a class function to return the count of fields

Other Changes
* The data from the database that is stored in the class static can be retrieved with a parameter excluding heading fields but if a later call tries to retrive the values with heading fields the heading fields wouldn't get returned.  Changed the query to always retrieve the heading fields. Changed the retrieval function to filter out heading fields if the caller asked for them to be filtered.

* Noticed that the version number was set to 3.9, since we are using the functions in 3.8.14 changed the version number in the header

* Having private on the class constructor caused context errors and warnings while executing