Fix warnings

Fixes some warnings. Mostly import junit.framework => import org.junit. There are many others which are not fixed. They need much more thought. For instance, CruiseControlException is deprecated for no meaningful reason (that I can think of). Similarly, LogFile, OperationResult (in favour of LocalizedOperationResult), etc.