Allow pinning for apt repositories

I extended the class documentation as well. This includes your last commit (which fixes #1). I tested everything on Debian 7 Wheezy and it's working great.