Fix Locale for Date Parsing

This changeset fixes the locale for date parsing to Locale.ROOT.
Without this change, the classes will fail when running on a
system in Asia in which the Locale has been set to Chinese.

These changes assume that internal representations will use
Locale.ROOT for date conversations.  Display dates should be
modified to use the local language.
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.