Fix and cleanup vagrant environment
Fix test case

- clean apc cache iff available, since otherwise the the test extensions are not
  loaded because of the already cached values within the extension manager