make sure 'present' is fully equivalente of 'installed' and remove installed from
feedback in favoer of 'present'
better handling of deprecated aliases
corrected comparisson which had accidentally chaned in previous fixes
Merge pull request #311 from bcoca/apt_state_fix

Apt state fix