Refactor PMA_Util::getLatestVersion() and PMA_sendErrorReport() (Feature Request 1466)

Signed-off-by: Sachith Seneviratne sachith500@gmail.com
Merge pull request #826 from sachith500/master

Minor Refactoring