Using generic Nails model approach for fetching products

Also implemented some basic searching.
Added _getcount_common conditionals and hiding inactive items from the store front