Conda API: only return installed or installable apps

I'm not sure if this is the best way to handle this, yet.

Changes:

- `api.app_get_index` will now return only
  - The most recent installed version of each app, or if no version is installed,
  - The most recent installable version of the app compatible with the current Python version.