Fixes #1256 : Updating user posts breaks postbit

1. Fixing post pid which was wrong.
2. Invalid code chunk removed. What is the logic behind checking "If not isset" inside "If isset" of the same thing?
Fixes #1270 sequrity question

Fixes error text for sequrity question not wrapping.
fix: Warning time error, refs #1283

* warnings.php
  * expires_period was accessed as numeric value, but is a string
* inc/datahandlers/warnings.php
  * improved handling of expiry for custom warning reasons
* inc/languages/english/datahandler_warnings.lang.php
  * added error message for invalid expires_period
Fixes #1286 SQL error while Upgrade
Merge pull request #1287 from JN-Jones/fix-1286

Fixes #1286 SQL error while Upgrade
Fix #1235 Editor post icons

Removed hard coded break after 10 icons.
Added class to label surrounding icons and radiobuttons to keep them
together.
Fix #1235 Editor post icons addition

Missed some things.
Removed variable not needed anymore.
Added correct template version.
Merge pull request #1290 from sthag/feature

Fix #1235 Editor post icons
Merge pull request #1285 from Nik101010/fix-1283-feature

fix: Warning time error (#1283)
Merge pull request #1280 from avril-gh/Fixes-#1270-sequrity-question-error-not-wrapping

Fixes #1270 sequrity question
Merge pull request #1275 from demonate/patch-2

Fixes #1256 : Updating user posts breaks postbit
Fixes #1282 remove hardcoded html

Removes hardcoded html, thanks to euantorano and Destroy666x
Merge pull request #1284 from avril-gh/Fixes-#1282-remove-hardcoded-html

Fixes #1282 remove hardcoded html