BUG-770: NumberFormatException for datapathId

- changed long to bigInteger in order to avoid negative Long
- added unit tests for touched util-methods

Change-Id: Ibdebd3965baf552bd92702af0399961b70defe56
Signed-off-by: Michal Rehak <mirehak@cisco.com>