Added support for Ubuntu 10.04 and 12.04

Work for Debian Squeeze and Wheezy should be simple to add, but I haven't yet tested them.