gluster: Remove bricks from DB after commit completion

Added logic to remove the bricks from DB after the commit is performed.

Change-Id: Ie0a21f013833833710abc219c1a066a2250bc5fb
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>