HUGE Commit.

Ton of new web code for supporing multiple countries. fix #11

Much better test coverage for web code. fix #10

NOTE: Integration tests not up to date with refactored web code.