don't add null value to bug list if XmlRpcException occurs.

don't add null value to bug list if XmlRpcException occurs.
refactor/cleanup Bugzilla.java and add a new RepositoryService for getting branches.