Add some API to get desktop files properties

This new API is useful for apps book-keeping by the homescreen.