Fixed various lint warnings

- hasOwnProperty check on for loops
- No unit for 0
- Enforce ===
- Scope warnings
Merge branch 'master' of github.com:soren121/yodel