Abstract version comparison functionality, further update_api + drupal
update functionality.