add facts showing available updates

Making use of the apt-check command from the 'update-notifier-common'
package (if available) display the number of available updates, number of
security updates as well as the update package names.
Is there any version compare function available like in Puppet? It appears to be a string.