The ganga user interface for physics analysis and distributed resources