Adds v3 API disable config option

Adds the ability to disable the v3 API and it is disabled by
default for now. The API is explictly enabled when running the
unittests though.

Change-Id: I34597d35b9739e06561579651f7ec72afa357919
Merge "Adds v3 API disable config option"