Fixes #2151 Saving CSS changes in Simple Editor breaks @media queries
Fixes #1483 Large attachments, greater than PHP memory limit, fail
Fixes #2003 When replying to a subject that is at max character limit, you will get an error.
#2270 Minor Typo / Consistency Issue in showthread.php
Merge pull request #112 from JordanMussi/patch-4

#2270 Minor Typo / Consistency Issue in showthread.php
Revert "Merge pull request #79 from Shade-/patch-2"

This reverts commit 390aa3a4533700bba0de0b5389ce5ca95b5cedff, reversing
changes made to 96ec2a158c1e791f6eb77e1d926c4c3c34a73235.
Preparing for 1.6.11
Another attempt. Solve potential wasted query in get_user()

Just added an if to the else and a return to catch the uid being 0
Replaced else if() with elseif() as advised for conformity.
Fixes #2184 SID not checked in admin/modules/templates.php
Merge pull request #124 from WildcardSearch/stable

Solve potential wasted query in get_user()
Adding missing permission check in ratethread.php
Adding missing permission check in search.php
Correcting draft checks
Fixes Bug #956 Quote tags don't work if username contains a ]
Fixes broken invalidation of solved captchas and http://dev.mybb.com/issues/864
Probably broken while fixing http://dev.mybb.com/issues/2120
Added utf8_handle_4byte_string to fix 4 Byte Issues with MySQL
Fixes problem with img bbcode
Correcting draft checks
Fixes regression
Cleaning up verify_recipient()