add try-catch block for cross-script permissions

This commit adds a try-catch block to deal with the situation
in which opengamma is being called from another web page.  In
this situation, the cross-scripting permissions block access to
the parent window object, leading to the OG gui not rendering.
check if opener is an og page

Check to see if window.opener is an og page before skipping handshake.
Without this page, the OG GUI will fail if called from a non-OG page
via a web link.
output only path in css

This patch changes the css output to output only the path of the URI
rather than including the host.  This makes it consistent with
the javascript behavior, and is necessary for OpenGamma to work
properly if it is behind a proxy server, which can change the
name of the host.
[PLAT-6488] Added pricing method for TRS equity based on QuantDocumentation22 (Equity TRS).
[PLAT-6488] Change calculator in PV function.
[PLAT-6488] Corrected present value for CouponIbor annuities. Changed leg calculators.
[PLAT-6488] Added asset exposure.
[PLAT-6488] - Equity TRS Currency Exposure WIP
[PLAT-6577] modify financial security for equity TRS
[PLAT-6577] Reverted change in financial security

Change currencies visitor.
[PLAT-6578] Complete currency exposure calculation for equity TRS
REQS 106 BCS/YCNS for Equity TRS, EquityTrsDataBundle implements ParameterProviderInterface
[PLAT-6578] Clean up currency exposure function
[PLAT-6583] - missing comma in Bad SQL grammer in Marketdatasnapshotmaster
[REQS-106] - PVO1 for Equity TRS
[REQS-106] - removed engine debug code, added java docs
[PLAT-6585] PV01 calculator replaced
FixUp PR
Merge branch 'origin/develop'
Merge branch 'joequant-routing-fix'