[BUGFIX] Use correct type in DemandObject

Change-Id: I9c3471685f5e7721cf7abe18b652e97f2aa08f6c
Resolves: #59730
Reviewed-on: https://review.typo3.org/31103
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
[TASK] Add functional tests to travis

Change-Id: Ie30400531ebea15efbab184ae7a20a82576a43bb
Reviewed-on: https://review.typo3.org/31102
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer