Updates and applies JSHint settings

- Adds all available enforcing options in JSHint rake task.
- Removes unsupported options in JSHint rake task.
- Cleans up JS according to stricter JSHint settings (with 2
exceptions: the regex in the feedback form manager and the many
statements warning in the function in the popup-manager).
- Refactors character limiter code to use event handler function.
- Removes unused code from details map manager code that was leftover
from when the nearby markers were present.
- Removes enquirejs and associated code from the popup-manager.
This was used for turning off the popups at small screen sizes,
however it had been disabled because it caused issues in IE.
I noticed you fixed the spacing between the arguments here, but not in other places. The Ruby Style Guide also says that there should be a space after a comma, so it would be good to adhere to this consistently in JS files as well.