Simplify RuleChecker interface, use report callbacks extensively
Fix issue with empty lines in comments
Rename entry point to main.js, fix minor issues