Fix for Issue #43 and Debug.js filter change

What is included in this pull request: 

DownloadRatioRule.js:
1. Fix for issue #43 - DownloadRatioRule null value.  
2. Added safety factor to downloadRatio calculation.

Debug.js
1. Enhancement to filtering logic 
2. Ability to disable the console.log if desired.