Merge pull request #922 from logoff/demo/tnc-2014

Live Elemental Media Encoder REST client.
Add licenses to MediaEncoder client classes.
Rename switch resource name attribute.
Add missing license headers.
Generate 2 flows (one for each direction) per request.
Implement FlowFactory
Configurable switch ports for ContentProvisioning.

ContentProvisioning gets injected the flowInputPort and flowOutputPort.
Blueprint is responsible of this injection, based on properties set in the file org.opennaas.extensions.contentprovisioning.cfg

This ports are used to configure the data path in the switch.
IContentProvisioning requires streamId in its methods.

startStream(int streamId) is accessible through:
HTTP POST at ${ws.rest.url}/contentprovisioning/{streamId}

stopStream(int streamId) is accessible through:
HTTP DELETE at ${ws.rest.url}/contentprovisioning/{streamId}

Given streamId is used to identify the content the media server should send.

Current implementation of ContentProvisioning allows only one simultanieous stream being active.
Calling startStream while ContentProvisioning is streaming, will fail (despite given streamId).
Merge pull request #924 from isartcanyameres/feature/content-provisioning-generates-flows

Feature/content provisioning generates flows
Merge branch 'demo/tnc-2014' into feature/streamId-in-content-provisioning-interface

Conflicts:
	extensions/bundles/contentprovisioning/src/main/java/org/opennaas/extensions/contentprovisioning/ContentProvisioning.java

Conflicst solved manually.
Initialize media encoder client based on new property.
Merge branch 'demo/tnc-2014' of git://github.com/dana-i2cat/opennaas into demo/tnc-2014
Add logger.
Include JAX-RS dependency.
Initialize media encoder client in blueprint.
Merge pull request #925 from isartcanyameres/feature/streamId-in-content-provisioning-interface

Feature/stream id in content provisioning interface
Merge branch 'demo/tnc-2014' of git://github.com/dana-i2cat/opennaas into demo/tnc-2014
Force adding JAX-RS OSGi import package.
Implement start and stop methods.
Use editable ArrayList.