PLAT-5440 - Rename FunctionResult

Rename:
 - FunctionResult class to Result
 - getResult to getValue
 - isResultAvailable to isValueAvailable
 - Update javadoc in line with above