Added delete segment functionality. Also added test cases that actually not covering the line of code but tested the delete segment functionally. Partial-Implements: blueprint masakari-dashboard Change-Id: Iabf59e92be9de09d2d2fde48fea403b7cd2bcd26