linux: check if xbmc was installed as package before
move apt check to its own function, make its easier to add other package managers later on
cosmetics, cleaner return value passing