Add a dry-run feature to unpack and deploy

This will allow an administrator to visualize the files changed in the
deployment before actually copying out the new files
Properly trim data from client

When creating tickets, ensure that data which should not contain leading or
trailing whitespace is trimmed and validated accordingly
Fix attachments posted to pipe.php

- Handle decoding large base64 encoded attachments better
- Avoid transcoding from one charset to the same
- Avoid encoding attachments without a declared charset
Support multiple update streams

This patch allows the upgrader to upgrade multiple database update
'streams'. The main stream is renamed to 'core' to reflect changes made
to the config class. This will significantly ease customizations
requiring database customizations, and will make plugins requiring
database changes possible.
Get the upgrader to actually work
Allow streams to be registered in streams.cfg
Add start of documentation for database migration

Allow `streams.cfg` to be implied as 'core', which will default to only
upgrading the core osTicket stream.

Use signature to describe snapshots rather than md5
Fix bug in EmailTemplate::lookupByName
Merge pull request #610 from greezybacon/issue/610

DB Error #1064 / Template Fetch Error

Reviewed-With: Peter Rotich <peter@osticket.com>
Fixup old ..MsgTemplate() getters which returned arrays
Installer uses the streams config

Allow the installation to use the same streams config and schema signatures
as the migrater

Allow the install to install mulitple database streams
Add nicCode support

Allows direct editing of XHTML code in the nicEdit pane
Merge pull request #563 from greezybacon/feature/multiple-update-streams

Allow parallel database upgrade streams

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #605 from greezybacon/feature/deploy-dry-run

Add a dry-run feature to unpack and deploy

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #600 from greezybacon/issue/600

client email not being trimmed?

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #607 from greezybacon/issue/corrupt-piped-attachments

Fix attachments posted to pipe.php

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #615 from greezybacon/feature/upgrade-nicedit

Add nicCode support
Reviewed-By: Peter Rotich <peter@osticket.com>
Spelling, grammar and readability fixups

Spelling, grammar and readability in upgrader documents
  - Tweaked spelling, grammar and wording to make the text of the upgrader
    pages more readable.
Fixed spelling regression
  - Higly —> Highly
Spelling and readability fixes for /include/class.* files
  - Fixed some spelling mistakes
A couple more spelling/readability fixes.
  - More fixes
Update settings-pages.inc.php

on line 14 of settings-pages.inc.php the section: <a href="pages"> should read: <a href="pages.php">
Merge pull request #618 from cdnwetzel/patch-1

Update settings-pages.inc.php

Reviewed-By: Peter Rotich <peter@osticket.com>