Fixes for slicer4.2 API changes

ModelDisplayNode.Get/SetPolyData -> Get/SetInputPolyData
slicer.app.mrmlApplicationLogic -> applicationLogic
layoutManger.threeDView(d) -> layoutManager.threeDWidget(d).threeDView()