quick fix for reloading page if succesfully started a rebuild of a commit

Reloads page if a rebuild is triggered
we may also want to slightly adjust the logic here:

`
if (scope.commit && $scope.commit.status != 'Started' && $scope.commit.status != 'Pending' && (item.commit.status == 'Started' || item.commit.status == 'Pending)) { ... }
`

We want only want to re-connect to the websocket if we are not already connected. It is possible that a `Pending` and `Started` event could be fired sequentially, thus causing the code to connect on pending, and then re-connect on started.

I'm not sure the above logic is perfect, by the way, but just to give you and idea