Fix behat contexts

Fixes ambiguous definitions errors on behat tests by isolating API related tests into a dedicated "API" test profile.
Can you add the junit formatter ?