Portal Restructuring

Client
The portal.html file has been split into three: portal.html, script.js,
and style.css.
Added some general commenting.

Server
Updated the "onBridgeFail" response if the fail report itself fails
(FailFail).