fix issue #27 -  allow clean JSLint analysis

landing changes to main.js 
* added new function generateGlobalDeclaration(type, test, functions)

Use generateGlobalDeclaration(type, test, functions) to generate the appropriate global declaration that summarizes what functions are being tested and tells JSLint that the methods for the given test 'type' are being provided elsewhere.