Added Cookies.js
Added cookies functions
Changed $cookieStore to adapt to new cookie factory