Added database changes to upgrade_*.sql

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #1855 from emanuele45/upgrade_fix

Added database changes to upgrade_*.sql from 1.0.1
! update to use mysqli interface
! The character table was to restrictive for international chars
! The default ports have changed, old will work fine, but
are no longer the recommended values 3312->9312 3313=>9306
! magics value should be 0, docs were wrong
! rest of the mysql => mysqli changes for searchql
! sql_query_info is depreciated in 2.2 and is for CLI debug
! compat_sphinxql_magics is depreciated and not needed in our query
! weights() needs to be aliased for 2.0 support, works for 2.1+ as well
! chrome was not rendering tabs properly in code block
! ie9 did not properly truncate long bbc links
! update superfish to 1.7.4 fix ie11 bugz
! update css min dependency for keyframe error fix
! update hover intent to improve mouse tracking algo and namespace
! code blocks would not insert when in wizzy mode
! fix #1853
! Update the permissions for board permission checks
! make sure function returns a value to avoid comparison error
! no calendar entries = hidden on info center fix#1863
! don't sanitize the value if its not from this form fix #1861
! that font check had potential to run well past the font tag end
! To be more complete, trim after removal
! parse_bbc will not work well if size, font wrap those tags
so we end them at those tags when inserting
! add universal sig dash support in signature detection