Basic jshint fixes

* ignore webplatform/webplatform.js since that it is a third party
  libary
* replace tabs with spaces
* provide a default .jshintrc file

Change-Id: I5502966c90f53e92b0a7097e1cf2552a56b45fdc
jshint: add semicolons

Change-Id: Ieb9ca055a4326a4f3eaee2ac34dcf0b378a089df
jshint: 'i' is already defined.

Change-Id: Ie46fe782ebf8072ba7ddd2442fc75564ba4c0a82
Merge "Basic jshint fixes"
Merge "jshint: add semicolons"
Merge "jshint: 'i' is already defined."