Preserved non-trailing whitespace in chat/activity logs

Added a CSS class to chat/activity log cells, then used it to ensure
that newlines and spaces in those cells was converted to HTML versions.
Also, trimmed trailing whitespace from new chat before submitting it.
to match upstream/master
Merge remote-tracking branch 'upstream/master'

Conflicts:
	src/ui/js/Api.js
	test/src/ui/js/test_Api.js
add folder to store images for wiki pages, plus some images
Merge pull request #780 from ManvilleFog/wikipics

Wikipics
* custom PMD ruleset which should have identical behavior to our previous default
* customize PMD rulesets
* exclude ExcessiveClassComplexity not ExcessiveClassLength
* also exclude ExcessiveClassLength
Merge branch 'master' of github.com:buttonmen-dev/buttonmen into 417_jenkins_pmd
Merge pull request #782 from cgolubi1/417_jenkins_pmd

jenkins pmd customization
* add a flag to the API reporting whether the most recent chat entry can be edited by the active player
Removed unused BMContainer classes
Merge pull request #785 from blackshadowshade/remove_container

Removed unused BMContainer classes
* UI and DummyApiResponder support for submitChat, no backend yet
* fix indentation for jshint
* fix tabs
Resolving conflict
Clarified code and added tests
fixed hatter, added tweedles and some fanatics
Merge pull request #787 from ManvilleFog/138_button_images

fixed hatter, added tweedles and some fanatics