Various cleanups to Ubuntu installation instructions:

* Avoid editing /etc/apt/sources.list add nginx repo, instead create
  /etc/apt/sources.list.d/nginx.list

* Avoid editing /etc/nginx/nginx.conf, instead put server_name_hash_buckets
  setting into discourse.conf

* Proper-case Discourse when it is referring to the product name, so that all
  the lowercase references are to the user created during the installation
Address @Supermathie's concerns in PR1430
Simplify characterCode lookup

Reduce String.fromCharCode that can’t be optimized by the minifier.
Combine single path conditional
Remove unused variable

It is only set to empty then passed
Update indexOf polyfill

Updated from the same source as the original comment. If IE8 isn’t
supported then this can be removed.
Add JSHint to Travis validation

Run before the install as it acts as a fast fail vs the gem install time
Add jshintignore for failing files
JSHint: Add strict comparisons to poll_ui.js
Added spec for SSO override username/email changes
Merge pull request #2091 from Xenograph/fix-sso-override

Added spec for SSO override username/email changes
UI: we only intended to add the word "new" for new topics
Revert "Hack for supporting pasting images into the composer in Firefox."

Reverted cause it broke https://meta.discourse.org/t/when-creating-a-reply-pasting-only-works-once/13587

This reverts commit c8c150dfbee938a1182794594bcd7c2584387f41.
making the mobile composer opaque, may fix clicks from falling through
Firefox: Reuse same contenteditable <div> instead of creating a new one on paste.

This fixes the issue where every alternate paste from a different source
would not work because the content wasn't getting pasted into the
contenteditable div randomly.
Merge pull request #2093 from awesomerobot/master

making the mobile composer opaque, may prevent clicks from falling through
Merge pull request #2094 from vikhyat/firefox-paste-image

Fix Firefox image paste contenteditable hack
improve quick tips PM all new user copy
few more quick new user tips tweaks
Merge pull request #2092 from nschonni/jshinting

Jshinting during CI build