Updated to the latest changes of the API.

* Chrome ships already this API so this for the
other browsers.

Changes to the API:
* There is no getMarks neither getMeasures
* Use getEntriesByName or getEntriesByType(type) being
type: "mark" or "measure".

* Tests still missing.