Fix the TestServer switch working again

It was always hitting the real server. Fixed now.
Fixed the TableView layout bug that garbled text

Added logic to compute the correct height for each row. This avoided
the bug that shoed garbled text when rotating the device or coming out
of Preferences

Added the following method
 - (CGFloat)tableView:(UITableView *)tableView
heightForRowAtIndexPath:(NSIndexPath *)indexPath
Got the "Add a message" button working again

I added the <script src=…> sections back into the page so that this
page now works again.