SAN FRANCISCO (Reuters) - Twitter Inc has bought 900 patents and signed a cross-licensing agreement with IBM, making peace with Big Blue and bulking up on its intellectual property portfolio as it takes on larger rivals Google and Facebook.