Added IORef code to WebUI

Replaced TODOs with IORef code
Replace Main module with WebUI

Remove Snap web-server with http-server. Main can be switched between
TextUI and WebUI
Merge pull request #15 from derekwright/master

Swap out Snap web-server