Changed serializer to compute size of network for FlatDHCP

* changed deployment_serializer
* added test

Change-Id: I0ea212951db328d7165ea503d80d112d532b7f70
Closes-Bug: #1357350
Merge "Changed serializer to compute size of network for FlatDHCP"