valgrind: Backport 3.9.0 from oe-core

:Release Notes:
valgrind_svn is referencing external svn module VEX in HEAD and latest
revision isn't compatible with our build, switch to release tarball.

Backported without modification from oe-core
92bb949465feb39b2460ea0ddb45f259ca8baecc

:Detailed Notes:
Both patch files are different than what was in oe-core/dylan and we
cannot reused them, so they were backported as well.

:Testing Performed:
Only build tested.

:QA Notes:
Only included in -devel image.

:Issues Addressed:
[ES-390] Retain premirror tarballs for upstream components
[GF-59378] CCC: Upgrade valgrind to 3.9.0

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@lge.com>
Open-webOS-DCO-1.0-Signed-off-by: Susan Montooth <susan.montooth@lge.com>

Originally-reviewed-on: https://g2g.palm.com/4483
Cherry-picked-from-commit: 8be1c9606ff242e9e41eca6a8fd21c0ce52f5340
Cherry-picked-from-branch: @acadia

Change-Id: Ibb70d8197dfb92bf5a4de09cca3eddf75f74611e
webos_arch_indep: Issue error when inherited after webos_machine*_dep

:Release Notes:
When webos_arch_indep is inherited after webos_machine_dep or
webos_machine_impl_dep, PACKAGE_ARCH is no longer set to MACHINE_ARCH.
Issue an error in such cases, because it's usually a mistake.

:Detailed Notes:
The same will happen when you set PACKAGE_ARCH in recipe after
inheriting upstream allarch.

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Issues Addressed:
[GF-56800] Order of inheriting webos_arch_indep and webos_machine_dep/
           webos_machine_impl_dep matters
[GF-59256] CCC: Order of inheriting webos_arch_indep and
           webos_machine_dep/webos_machine_impl_dep matters

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Open-webOS-DCO-1.0-Signed-off-by: Susan Montooth <susan.montooth@lge.com>

Change-Id: Ib08a737309b0d314eb7abaf55c54c080d214095a
Originally-reviewed-on: https://g2g.palm.com/4462
Cherry-picked-from-commit: 30733df81749d256d5a3cc02c613e5f80428e6af
Cherry-picked-from-branch: @acadia
webos.inc: Fix parsing issues caused by WEBOS_DISTRO_BUILD_CODENAME

:Release Notes:
Now with branch name included in image names it can cause parsing
or build errors when the branch contains some characters with special
meaning in shell. Remove at least the most common '()/'.

:Detailed Notes:
Noticed when builds started to fail with build-webos branch set to
'(nobranch)':

ERROR: ExpansionError during parsing
/meta-webos/recipes-core/images/webos-image.bb: Failure expanding
variable build_boot_dd: ShellSyntaxError:
LexToken(TOKEN,'nobranch',0,0)
followed by:
  LexToken(RPARENS,')',0,0)
  LexToken(TOKEN,'-20140121132526.hdddirect',0,0)
  LexToken(NEWLINE,'\n',0,0)
  LexToken(NEWLINE,'\n',0,0)
  LexToken(TOKEN,'install',0,0)

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Issues Addressed:
[ANG-329] Ongoing metadata improvement/cleanup work

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>

Change-Id: I2512fbefac2803c8d15f292d7d680402567479ac
Reviewed-on: https://g2g.palm.com/4458
Reviewed-by: DCO Verification
Build: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
icecc: Backport few more fixes from upstream

:Release Notes:
Small improvement for safer blacklist and better debug information.

:Detailed Notes:
All my patches were merged upstream, update them from final version.

Only functional change from last backport is this one:
http://git.openembedded.org/openembedded-core/commit/meta/classes/icecc.bbclass?id=5a5319d2e6f41bb0e290d6a1decbd996e9572690

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Issues Addressed:
[GF-45392] icecc does not work
[ANG-329]  Ongoing metadata improvement/cleanup work

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>

Change-Id: I4880749bfd7ea1b3b242cedbece0d574467e359a
Reviewed-on: https://g2g.palm.com/4428
Reviewed-by: DCO Verification
Build: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: db8=121

:Release Notes:
One process per database

:Detailed Notes:
submissions/119..submissions/121
eb904fc Add db8.conf.in upstart script
4347fc3 Add upstart scripts for media and tempdb
d70031c Add configuration file for maindb,mediadb,tempdb
71316a3 Open only one database per process

:Testing Performed:
MiniBAT ANG-615

:QA Notes:

:Issues Addressed:
[ANG-615] CCC: db8=121
[ANG-298] Add conf files and upstart scripts for main/temp/mediadb
[ANG-297] Add to mojodb.conf file path to database and service name
[ANG-296] Switch main process to open only one database

Open-webOS-DCO-1.0-Signed-off-by: Maksym Sditanov <maxim.sditanov@lge.com>

Change-Id: Idc091ee41394c883b22c51dba95651c12387d37e
Reviewed-on: https://g2g.palm.com/4463
Reviewed-by: DCO Verification
Build: Maksym Sditanov <maxim.sditanov@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Maksym Sditanov <maxim.sditanov@lge.com>
Tested-by: Maksym Sditanov <maxim.sditanov@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>