[otapackage]: Add support to include delta update agent binary to ota package

(cherry picked from commit c389ef6fe316cde5d84feaba710207736b8d8fac)

Change-Id: I87f695f8157322c5bedad426f9397d28420852c2
[otapackage]: Fix condition check for fota

Fota was getting interpreted as string & integer based on from where
the ota script is called. To avoid issues make fota to be always of
type int

(cherry picked from commit 3a08dcd00e9ff50cc39bfb67c8720da28469a482)

Change-Id: I816c2238e0a83c4144950d29e0f86c0a8a95ff5a
Merge "[otapackage]: Add support to include delta update agent binary to ota package"
Merge "[otapackage]: Fix condition check for fota"
Merge commit 'android-4.1.2_r1' into upgrade_branch

* commit 'android-4.1.2_r1': (40 commits)
  JZO54K
  JZO54J
  JZO54I
  JZO54H
  JZO54G
  JZO54F
  JZO54E
  JZO54D
  JZO54C
  Add make_ext4fs to all builds
  JZO54B
  JZO54
  JZO47
  docs: combine all possible js files into one to reduce the number of requests Also make change to doc template and css to fix footer layout bug introduced by change 9edfa6db8c53ef9515aaeed734bea02c5d65e1e5
  docs: move home.css into default.css to reduce number of requests
  JZO40
  docs: make landing pages w/o image span the full page width
  JZO38
  docs: comment-out unused style (the png currently does not resolve)
  Improve print stylesheet for d.a.c.
  ...

Conflicts:
	core/build_id.mk

Change-Id: I846f180ea782fa37626a367a541afb662b9d6682
Merge "Merge commit 'android-4.1.2_r1' into upgrade_branch"
[otapackage] : Fix case where boot.img was being built with wrong params.

boot.img now gets built using the same params during ota package generation
and during normal build.

(cherry picked from commit 34c6579a7e1d00cf138d433fcfd9787657d60621)

Change-Id: Id6613349977d52eaef6fda1a72d9ecc616135e38
Merge "[otapackage] : Fix case where boot.img was being built with wrong params."
build: Add device type for otapackage

Ota script takes input arguments to identify the storage device
type mtd or mmc. Pass default argument for the device type.

(cherry picked from commit 01f04bf4bb1fa730c27b6c33f7f573ec3999fc29)

Change-Id: I546c0c99c5ffc3a5feebf662624173281058eb8d
Merge "build: Add device type for otapackage"