BUGFIX: correct misnamed var in BasicModel::loadHooks()
BUGFIX: make module inclusion from base dir conditional:
Identical records were appearing in ProductsModel::hooks, because of
recursion in FannieAPI::listModules(), and the line "$directories[] =
dirname(__FILE__)".  It seems this line wants to be inside a
conditional, based upon the $include_base parameter.  I added the
conditional, so a few calls to FannieAPI::listModules() might need to
have the argument explicity set to true.
Merge pull request #317 from AlbertaCoop/ng20140211

Two Bug Fixes via NG, 2014-02-11