WP-2361 New Alfresco ping test function and some cleanup