Here's an interesting article on Obama's opinions on marriage equality over the years