ios cookie rewrite 

Rewrite of ios cookie back-end using code derived from jQuery (but calling executeAtom instead of injecting). 

@jlipps @0x1mason can you have a look. 

EDIT: switched from mozilla docCookie framework to jQuery to avoid GPL3 license