Added unit tests for DateTimeRange class (with some fixes)

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Do not use pointers for DVRServerConfiguration

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Allow creating DVRCamera with server/id data

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Store DVRCameraData as normal pointer in DVRCamera

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Fixed bug with returning LiveStream object from DVRCamera

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Removed unneccessary code from DVRCamera

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Removed no longer valid comment.

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Removed unneccessary inheritance from DVRCameraData

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Renamed uniquiID() to id()

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Change order of DVRCamera* constructor parameters to match DVRServer

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Do not check if 'd' in DVRCamera is not null

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Removed DVRCameraData::onlineChanged signal

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Do not store DVRCameraData as pointer in DVRCamera

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Moved reading stored camera data from DVRCameraData to separate class

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Moved writing camera data from DVRCameraData to separate class

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Extracted DVRCameraXMLReader for reading cameras from XML

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Store PtzControl object in DVRCamera

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Removed unused method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Moved LiveStream object to DVRCamera

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Use m_ prefix for fields in DVRCamera

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>