add foundation for rocketfuel mock API

https://bugzilla.mozilla.org/show_bug.cgi?id=894417