Two really great articles on the history of LGBTQ characters in comics were posted on The Mary Sue. It's a really good summary, even though I feel it leaves some characters out and a lot of the history is really painful/disappointing. (
Part 1 &
Part 2)