Fix post tags input.

Closes #4378. Closes #4455.
- Trim whitespace from tag names on entry.
- Prevent duplicate tags in suggestion list.
- Fix unhandled exception that happens when backspace is pressed in
  an empty tags input box.
Merge pull request #4457 from jaswilli/tags

Fix post tags input.