Improved Cookie Parsing, Restructured Common API Functions
Multiple keys being used for Cookies, keys must contain "ASPSESSION"
Also, restructured the common API functions, such that they can be used by both API router functions and WebApp router functions