Fix some Rake tasks, cleanup Rakefile
Ignore generated file for MooTools
Simplify some logic
Fix JSHint errors