Added support for Debian (tested on Debian 7.0 aka Wheezy aka 'current testing').
Refactored the required packages to only define the package names inside the switch/case statement and then having a single 'package' statement after it.