From http://www.wprecipes.com/automatically-link-twitter-usernames-in-wordpress