CSS/HTML consistency, image scaling and word breaking

Implements image scaling, word breaking and fixes several CSS/HTML
inconsistencies
Adding check for post visibility being 0 or more to fix #819.
Merge branch 'feature' of https://github.com/mybb/mybb into featurefix-819
Merge branch 'feature' of https://github.com/mybb/mybb into featurefix-819
Starting work on logging admin lockouts for #859.
Formatting locked out admin log string and getting IP address correctly using get_ip().
Merge branch 'feature' of https://github.com/mybb/mybb into feature-859-log-logout-failures
Removing space after typecast.
Merge branch 'feature' of https://github.com/mybb/mybb into featurefix-819
Changing SQL to allow soft deleted posts to show.
Fixes #895 - Upgrade30.php bugs
Implements #905 Add class to smilies
Started working on stop forum spam checker class.
Working on #756 Remove Hardcoded HTML
global.php (task image)
Decoding result from SFS.
Feature #280 Smilies/Post Icons and theme imgdir
Merge branch 'feature' of https://github.com/mybb/mybb into feature-860-check-sfs-on-register
Working on #436 Portal Improvements
Added setting to exclude forums from latest threads box. Also updated some setting descriptions.
Working on #436 Portal Improvements
Setting had the wrong name >_<
Feature #280 Smilies/Post Icons and theme imgdir
Wrong image directory in Admin CP...