fix qanimationframe -> new api

qanimationframe takes now a function!
update tests according to new api
update read me
update doc
bump to v2.0.0 and update build
fix readme
Merge pull request #2 from peutetre/fix

QanimationFrame API change for real benefits. Now takes a function to be called in the next animation frame