[INTERNAL] sap.ui.core.util.XMLPreprocessor: <template:if> + then/else

Migrate https://git.wdf.sap.corp:8080/643424 and
https://git.wdf.sap.corp:8080/650358 from sapui5.runtime git
to openui5.
Move integration test application to "Explored" area of demokit.

Verify: 
1. Start demokit /testsuite/explored.html, navigate to Display/XMLView:
 Application displays, "Show Code" shows resources
2. Unit tests via /testsuite/, in "Library Tests" navigate to
sap.ui.core/qunit/XMLView.qunit.html

PS1: URE + PKS
PS2: Use component.json
PS3: Add verification info to commit message
PS4: Comment SBE
PS5: Add then/else implementation + sample from sapui5.runtime git
PS6: Comments TCH, fix then/else implementation for IE8, simplify
PS7: Remove wrongly added change to jquery.sap.script.js
PS9: Fixed getThenOrElse
PS10: Comments TCH, moved to sap.ui.core.util.XMLPreprocessor.process
PS11: whitespace, added to utils testsuite
PS12: unnecessary tests, formatting, FIX4MASTER
PS13: Frank's comments
PS14: more line endings

Change-Id: I6bda62693777cbde43450094354958408287dfc0
JIRA: FLPUISERVICES2014-804
[INTERNAL] Merge master

Change-Id: I2a4fa05661546e8999c3b674dd5db3e6f775a087
[FIX] Databinding: Support "any" type in model type formatting

When format is called and the control property type is "any", the
model type should return its raw value instead of throwing a FormatException.
Parsing of type "any" is not supported.

Change-Id: Id89c2bcd61c675feacaa4ec1938c04e5ead06b04
[INTERNAL] XMLPreprocessor: implement binding, with & repeat

Migrated the following changes from sapui5.runtime:
https://git.wdf.sap.corp:8080/656188
https://git.wdf.sap.corp:8080/657682
https://git.wdf.sap.corp:8080/659158

PS2: isTemplate
PS3: no namespace for isTemplate
PS4: OpenUI5 Explored
PS5: whitespace
PS6: Thomas' comments
PS7: Rebased; Malte's comments in a joint review
PS8: load XMLPreprocessor only for template views
PS9: Malte's further ideas

Change-Id: Iae0ea93e2f78a5e0b7907ef70f7b7957a3d184d3
JIRA: FLPUISERVICES2014-821
JIRA: FLPUISERVICES2014-751
JIRA: FLPUISERVICES2014-750
Merge "[INTERNAL] XMLPreprocessor: implement binding, with & repeat" into feature-templating
[INTERNAL] XMLPreprocessor: template namespace

...and error messages

PS2: rebased, refactored
PS3: comments
PS4: rebased, simplified XML creation in unit test
PS5: avoid text nodes, make it run in IE

Change-Id: Ie243775f0e8bffd8d3c7e03e8adc501b0b2b8f58
[FEATURE] Databinding: createBindingContext returns context if available

Change-Id: I7fc6a3e51063a4a93e71eff76ba6a18596570342
Merge "[INTERNAL] XMLPreprocessor: template namespace" into feature-templating
[INTERNAL] sap.ui.core.util.XMLPreprocessor: refactor unit tests

PS1: checkFilteredXml(), mSettings is NOT optional
PS2: factor out check() operation for most tests
PS3: reduce use of <Icon>, use id="unexpected" for unexpected elements
PS4: factor out withBalanced...
PS5: simplify if/then/else testing
PS6: simplify error handling tests
PS7: rebased
PS8: make integration test (sample app) work again
PS9: JsDoc, element vs. node
PS10: use cool sinon features like sandboxes and assertions

Change-Id: Ic0c1e6ebbeeedb8f37aedc97628a983211dce22a
[INTERNAL] sap.ui.core.util.XMLPreprocessor: improve logging

PS1: PP with URE; use stub, construct debug args only if needed
PS2: PP with URE; use stub, construct warning args only if needed
PS3: remove trailing whitespace

Change-Id: I3239420beec96d794b145572ef1a05fea5ba495a
[INTERNAL] Templating sample app

Minimal first version (HeaderInfo fields for fix product HT-1000).
URL:
http://localhost:8080/testsuite/explored.html#/sample/sap.ui.core.sample.ViewTemplate.scenario/preview

PS1: PP KTH, PKS
PS2: Fix wrongly copied metadata.xml, format mock data, cleanup
PS3: Remove trailing WS
PS4: Comments TCH
PS5: Remove trailing WS again - need glasses
PS6: Copyright Component.js
PS7: Fix "Show Code"

Change-Id: I867822222d20e4fb272bacdcedd118ec604f241d
JIRA: FLPUISERVICES2014-844
Merge "[INTERNAL] sap.ui.core.util.XMLPreprocessor: refactor unit tests" into feature-templating
Merge "[INTERNAL] sap.ui.core.util.XMLPreprocessor: improve logging" into feature-templating
[INTERNAL] sap.ui.core.util.ODataHelper: initial creation

PS1: PP with URE
PS2: TODO added, cleanup
PS3: rebased
PS4: integration test
PS5: comments by PKS
PS6: undo diff which does not belong here

Change-Id: I1e8e6cead5ab55903048e0dcdf1d02e14585339a
JIRA: FLPUISERVICES2014-868
Merge "[INTERNAL] sap.ui.core.util.ODataHelper: initial creation" into feature-templating
[INTERNAL] Merge master into feature-templating

Resolved conflicts:
	src/sap.ui.core/src/sap/ui/model/odata/ODataModel.js
	src/sap.ui.core/src/sap/ui/model/odata/v2/ODataModel.js

Change-Id: Ifa4d486e594cc9018368bd8fb566ca4a1ef0a4fa
[INTERNAL]: ODataHelper: escape the result if necessary

PS1: PP with TCH
PS2: Rebased

Change-Id: I11dd3461b2fdfe1664c9cc79f2207baf873a940e
JIRA: FLPUISERVICES2014-868
[INTERNAL] Templating sample app, part2

- <repeat> over Identification fields
- entity type selection
- use element binding instead of createBindingContext for data model
- use v2 of merged service metadata from
http://vecocomst.dhcp.wdf.sap.corp:1080/coco/tools/MetannoJ/

PS1: PP with KTH and PKS solo
PS2: Comment KTH
PS3: Rebase
PS4: Rebase again onto encoding fix for ODataHelper
(https://git.wdf.sap.corp:8080/681421/)

Change-Id: I618e197416c7706a920a327e731b22e978ed1214
JIRA: FLPUISERVICES2014-844
[INTERNAL] Merge master into feature-templating

Change-Id: I1e88251a74b7bc9575d05eecc297f8dc4571b23e
[INTERNAL] Templating sample app, part3

- SimpleForm
- instance selection

PS1: PP KTH, PKS
PS2: PP PKS; KTH instance selection finished
PS3: Edm.String Edm.Guid, no Label
PS4: Comments KTH/PKS
PS5: Comment TCH

Change-Id: Ia528198c01b5e565c5c91aa2ce5619366fc58da6
JIRA: FLPUISERVICES2014-890