parse-cookies extended

* add raw argument to use instead of document.cookie
* add dataParser argument to transform cookie contents (e.g. parse JSON)
* add documentatino
* add test