Fix NPE in ClientAPITest and others where WebPartFactory.getWebPartView
Merge branch 'develop' into fb_style