Updated admin zen_not_null to bring it in line with the non admin function.
The primary concern with the admin one was zen_not_null(true) === false
The website one correctly does zen_not_null(true) === true
An explicit check for boolean could also be added but I guess it doesn't need it.
Refactor zen_href_link (catalog) and zen_catalog_href_link (admin)

 * Fixed the wrong separator in zen_href_link when sid must be passed with static URLs and no other parameters.
 * Updated the code handling sessions (zenid) to use "constant('SID')" instead of only "SID".
 * Consolidated the link "cleanup" code in zen_href_link into one rtrim, one preg_replace, and one str_replace.
 * Refactored connection check in zen_href_link to default to HTTP and issue a WARNING in the debug log if an unknown connection type is specified.
 * Added a notifier to zen_href_link. This should allow observers to "listen" and "act" upon the function being called.
 * Updated the admin function zen_catalog_href_link to more closely match the catalog zen_href_link.

<sub>**Note:** Should the new language constant (used when issuing a WARNING about unknown connection types) go into the main language file or into a new file under extra_definitions? My initial thoughts were in the main language file as they affect every page (and requires one less file load by the web server / PHP). For the purposes of this patch I've made the edits directly to the main language file(s). These may need to be moved and / or changed.</sub>
Updated refactor of zen_href_link (catalog) and zen_catalog_href_link (admin)
 * Updated internal comments and added PHPDocs to both functions. Included a few examples in the PHPDocs to hopefully help future developers understand the use of the functions.
 * Added support for passing $parameters as an array. Mostly a convienence, but hopefully the change also makes the intended use of the paramater more obvious.
 * zen_catalog_href_link now accepts $search_engine_safe, $static, and $use_dir_ws_catalog. This change is to better match the links generated from the catalog when sending emails.
 * Replaced a call in the admin "header.php" to zen_catalog_href_link() with "HTTP_CATALOG_SERVER . DIR_WS_CATALOG". This matches the behavior of the default catalog "header.php" template.
Fixed a misspelling and moved the notifier hook to allow changing from a non-encrypted connection to an encrypted connection.
Fixed adding the separator when switching between secure and non-secure pages.
CHANGE-692 - CURL-force SSL3 on Cardinal connections
CHANGE-688 Shipping needs a way to adjust order total used in quotes
Move into class
ISSUE-85 - Update test framework
ISSUE-85 - Update test framework (FYI in case you wondered, we changed API access key, so old plain-text credentials are now obsolete)
ISSUE-85 fix bad merge
Merge pull request #41 from lhungil/refactor-href-link

Refactor zen_href_link (catalog) and zen_catalog_href_link (admin)
CHANGE-688 Shipping needs a way to adjust order total used in quotes
Adjust for taxes
CHANGE-491 - Updating timezone-detection error help message in zc_install
CHANGE-18 - Installer - update version-detection rules
ISSUE-83 - lat9 requested more notifiers for order-class
ISSUE-84 Request Class

see https://confluence.zen-cart.com/display/PUBDOC/Request+Class
ISSUE-87 - Fix payment module problem admin-side preventing use of Refund option
ISSUE-88 - Fix var assignment operator in ot_gv.php for Calculate Tax
CHANGE-694 - Stopped admin send-mail page from drawing a huge dropdown list even when a single customer is pre-selected from customers screen
ISSUE-86 - fixed comment