Fix findbugs warnings in functional test framework

WebDriver is now volatile
Properties holder is static
Add null checks to nullable fields
Clean up and appropriately return workflow objects
Use stream writer to specify encoding type