Update onie-server.py

Fixed typo on line 94

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
x86 exec_installer: Fill serial number to HTTP headers

In powerpc platforms, the serial number is passed to kernel by
``bootargs`` from u-boot.  But it is not in x86 platforms.  It
makes wget send an empty serial number field as part of the HTTP
request headers during doing HTTP discover.

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
exec_installer: Check if image format is suitable for current boot reason

ONIE updater image has 'ONIE-UPDATER-COOKIE' which is used to
distinguish from NOS installer image.  Updater shall run in either
'update', 'embed', or 'rescue' mode.  Installer shall run in either
'install' or 'rescue' mode.  And both kinds of image shall not run
in uninstall mode.

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Disallow install_url or update_url to run at improper situation

install_url (onie-nos-install) is allowed to execute at the situation
with boot reason: install or rescue.  update_url (onie-self-update)
is allowed to execute at the situation with boot reason: update, embed,
or resuce.

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Disallow uninstaller to run at improper situation

uninstaller (onie-uninstaller) is only allowed to execute at the
situation with boot reason: uninstall or rescue.

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Accton powerpc platforms: Adjust u-boot boot delay to 10secs

The platforms are including:
- AS5710_54X
- AS6700_32X
- AS6701_32X
- AS6710_32X
- AS7700_32X

u-boot boot delay in these platforms were not consistent in the
past.  We decided to follow ONIE's original design recently.  So
that these boot delay patches in machines are removed now.

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>