Maintain a more robust slave window connnection

* Will auto reload when the page is resized
* Will automatically maintain slave window connection. You should never
have to click the Slave Window button again, unless you're blocking my
popups.
* You shouldn't really have to worry about window management at all
anymore. Simply toss the slave viewer window wherever you want it and
go.
Merge pull request #77 from binford2k/features/more_robust_slave_connection

Maintain a more robust slave window connnection
Properly encode html entities
Merge pull request #82 from binford2k/tickets/TRAINTECH-13/handle_htmlentities

Properly encode html entities