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.
Removed unused BMContainer classes
Merge pull request #785 from blackshadowshade/remove_container

Removed unused BMContainer classes
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
Fixed types of owner_id and original_owner_id in table die from TINYINT UNSIGNED to SMALLINT UNSIGNED
fanatics - currently playable
Merge pull request #790 from ManvilleFog/138_button_images

fanatics - currently playable
Removed unnecessary double-encoding of swing values in die table
Removed unnecessary field image_path from table button
Removed image path from database view button_view
Merge pull request #752 from AdmiralJota/336_633_handle_whitespace_in_chat

Preserved non-trailing whitespace in chat/activity logs (#336, #633)
Merge pull request #789 from blackshadowshade/534_unit_test_crash

Fixed types of owner_id and original_owner_id in table die from TINYINT to SMALLINT
Merge pull request #791 from blackshadowshade/swing_double_encoding

Removed unnecessary double-encoding of swing values in die table
Merge pull request #792 from blackshadowshade/remove_image_path

Removed unnecessary field image_path from table button