Polished the System behavior during and after upgrade.
Fixed HTML Content support
https://github.com/andstatus/andstatus/issues/60
Fixed tests to use Origin from OriginType separation