Hiblet/NewZopa01 — pull request #22 by Hiblet (2014-03-18 15:19:21+00:00)
Title: Order Subscription handles timeouts; Front end uses new format timestamp; Orders created from user message;

FIXED: MarketManager.cs
-- Loaded orders had no marketName; This is now set from symbol on load.
-- Missed a log entry that output the user list; corrected.

CHANGED: OrderSubscriptionManager.cs
-- Added logic to handle timed out sessions and missed messages.
-- Added conversion to lower case for user string at all points.
-- Added EndSession() to complete AOO's on session end

CHANGED: PriceSubscriptionManager.cs
-- Increased logging

CHANGED: Global.ASAX;
-- Logging class now more descriptive
-- Session_Start() no longer gets username, as user is not yet logged in.

CHANGED: Order.cs
-- Corrected ordering of OrdType Enum options.
-- Changed OrdStatus Enum to Status.
-- Added BuildOrderTagFromDictionary() to create order from user msg.
-- Added LookupOrdTypeFromNumericString()
-- Added LookupOrdTIFFromNumericString()

CHANGED: Orders.js
-- Now sends DateTime timestamps as "yyyy-MM-ddTHH:mm:ss.fff" format
-- Expected length of string changed to 23 chars.

CHANGED: MarketManager.cs
-- Comply with Enum change in Order, OrderStatus -> Status
-- Changed report generation for one report to be an array.
-- Changed GenerateReport() to make some tags optional.

CHANGED: Market.cs
-- To comply with change of Enum in Order, OrderStatus -> Status

CHANGED: AsyncHttpHandlerOrders.cs
-- Expose the SessionID and User from the AOO

CHANGED: AsyncHttpHandlerPrices.cs
-- Logging tweak to output user in lowercase

CHANGED: appSettingsOrders.web.config
-- Tag names changed to comply with the rest of the system