Added more new API features

- if the plugin doesn't pass a version, if there is only one entry it
will be 'available'
- if there are multiple entries in the db for a component but one of
them has the correct version number, then it will return that info as
available and disregard the other matching components