Bug 1025792 — Handle API Versionning.

https://bugzilla.mozilla.org/show_bug.cgi?id=1025792
Fixed here: e8080cb