fix(localStorageService): fix cookie serialization(object/array) issue: #121
test(localStorageSpec): test cookie dealing with objects and arrays