Transparency and tint support.

Re-submission of a two year old patch. The blocking issues haven't been addressed yet; in particular the X11 bits haven't gotten upstreamed yet. Additionally the options need to be made conditional when alpha-transparency is not supported. Probably some of the code can be spruced up too.