Added support for Ubuntus 'apt'.

- If Ubuntu is detected as platform apt API will be used to check which
packages exist in cache and which of them are already installed.
- TreeItem sorting has changed. If item type equals, first item column
will be used instead.