Updated to match new Twitter API and refactored some

It seems like Twitter would take a handle as a user_id before, but
now it must be set as screen_name.

Also factored out some duplicated code. Note: The html is now
generated every time.
Merge pull request #1 from stevejarvis/master

Updated to match new Twitter API and refactored some