add function to check if a table's column exists

Function to check if a column in a DB exists and also has the ability to add the column if not

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/zencart/zc-v1-series/238)
<!-- Reviewable:end -->